-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PyTorch 2.1.1 Add storagemonitor Improve default provisioning Add layer1 build init
- Loading branch information
1 parent
8ec6777
commit 0bd9208
Showing
14 changed files
with
220 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
workspace | ||
*__pycache__ | ||
build/COPY_ROOT_EXTRA/ | ||
config/authorized_keys | ||
config/rclone | ||
tpdocs | ||
|
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,19 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# Must exit and fail to build if any command fails | ||
set -eo pipefail | ||
#!/bin/false | ||
|
||
# Tidy up and keep image small | ||
apt-get clean -y | ||
micromamba clean -ay | ||
|
||
# Remove build scripts | ||
scripts_dir="/opt/ai-dock/bin/build/" | ||
|
||
# Remove this layer's scripts | ||
rm -rf ${scripts_dir}layer0 | ||
|
||
# Remove parent directory if this is the last build layer | ||
if [[ $(ls -l ${scripts_dir} | grep -c ^d) -eq 0 ]]; then | ||
rm -rf ${scripts_dir} | ||
fi | ||
micromamba clean -ay |
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,14 +1,11 @@ | ||
#!/bin/bash | ||
#!/bin/false | ||
|
||
# Must exit and fail to build if any command fails | ||
set -e | ||
|
||
main() { | ||
install_webui | ||
build_cpu_main() { | ||
build_cpu_install_webui | ||
} | ||
|
||
install_webui() { | ||
build_cpu_install_webui() { | ||
/opt/ai-dock/bin/update-webui.sh | ||
} | ||
|
||
main "$@"; exit | ||
build_cpu_main "$@" |
Oops, something went wrong.