-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: run conda commands relative to linux script
This allows your PWD do be used to isolate multiple configs and sets of logs when running more than one worker instance on a single machine
- Loading branch information
Showing
6 changed files
with
29 additions
and
26 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,5 +1,6 @@ | ||
#!/bin/bash | ||
if [ ! -f "conda/envs/linux/bin/python" ]; then | ||
./update-runtime-rocm.sh | ||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
if [ ! -f "$SCRIPT_DIR/conda/envs/linux/bin/python" ]; then | ||
"$SCRIPT_DIR/update-runtime-rocm.sh" | ||
fi | ||
bin/micromamba run -r conda -n linux "$@" | ||
"$SCRIPT_DIR/bin/micromamba" run -r "$SCRIPT_DIR/conda" -n linux "$@" |
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,5 +1,6 @@ | ||
#!/bin/bash | ||
if [ ! -f "conda/envs/linux/bin/python" ]; then | ||
./update-runtime.sh | ||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
if [ ! -f "$SCRIPT_DIR/conda/envs/linux/bin/python" ]; then | ||
"$SCRIPT_DIR/update-runtime.sh" | ||
fi | ||
bin/micromamba run -r conda -n linux "$@" | ||
"$SCRIPT_DIR/bin/micromamba" run -r "$SCRIPT_DIR/conda" -n linux "$@" |
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