-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3971e17
commit 30756a7
Showing
8 changed files
with
41 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
#!/bin/bash | ||
|
||
# Must exit and fail to build if any command fails | ||
set -eo pipefail | ||
#!/bin/false | ||
|
||
# For ROCm specific logic | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
#!/bin/bash | ||
|
||
# Must exit and fail to build if any command fails | ||
set -eo pipefail | ||
#!/bin/false | ||
|
||
# For CPU specific processes | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Must exit and fail to build if any command fails | ||
set -eo pipefail | ||
|
||
/opt/ai-dock/bin/build/layer0/common.sh | ||
source /opt/ai-dock/bin/build/layer0/common.sh | ||
|
||
if [[ "$XPU_TARGET" == "NVIDIA_GPU" ]]; then | ||
/opt/ai-dock/bin/build/layer0/nvidia.sh | ||
source /opt/ai-dock/bin/build/layer0/nvidia.sh | ||
elif [[ "$XPU_TARGET" == "AMD_GPU" ]]; then | ||
/opt/ai-dock/bin/build/layer0/amd.sh | ||
source /opt/ai-dock/bin/build/layer0/amd.sh | ||
elif [[ "$XPU_TARGET" == "CPU" ]]; then | ||
/opt/ai-dock/bin/build/layer0/cpu.sh | ||
source /opt/ai-dock/bin/build/layer0/cpu.sh | ||
else | ||
printf "No valid XPU_TARGET specified\n" >&2 | ||
exit 1 | ||
fi | ||
|
||
/opt/ai-dock/bin/build/layer0/clean.sh | ||
source /opt/ai-dock/bin/build/layer0/clean.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
#!/bin/bash | ||
|
||
# Must exit and fail to build if any command fails | ||
set -eo pipefail | ||
#!/bin/false | ||
|
||
# For CUDA specific logic | ||
|
||
exit 0 |