-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'elizabeth/update-python-and-dependencies' into liezl/lo…
…wer-bound-albumentations
- Loading branch information
Showing
24 changed files
with
279 additions
and
232 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,6 +1,5 @@ | ||
channels: | ||
- sleap-deps | ||
- conda-forge | ||
- nvidia | ||
- https://conda.anaconda.org/sleap/label/dev | ||
- sleap | ||
- anaconda |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@REM Remember the old library path for when we deactivate | ||
set SLEAP_OLD_XLA_FLAGS=%XLA_FLAGS% | ||
set SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE=%NO_ALBUMENTATIONS_UPDATE% | ||
@REM Help XLA find CUDA | ||
set XLA_FLAGS=--xla_gpu_cuda_data_dir=%CONDA_PREFIX% | ||
set NO_ALBUMENTATIONS_UPDATE=1 |
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,6 +1,11 @@ | ||
#!/bin/sh | ||
|
||
# Remember the old library path for when we deactivate | ||
# Remember the old variables for when we deactivate | ||
export SLEAP_OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH | ||
export SLEAP_OLD_XLA_FLAGS=$XLA_FLAGS | ||
# Help CUDA find GPUs! | ||
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH | ||
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH | ||
# Help XLA find CUDA | ||
export XLA_FLAGS=--xla_gpu_cuda_data_dir=$CONDA_PREFIX | ||
# Disable annoying albumentations message | ||
export NO_ALBUMENTATIONS_UPDATE=1 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@REM Reset to the old variables when deactivating the environment | ||
set XLA_FLAGS=%SLEAP_OLD_XLA_FLAGS% | ||
set NO_ALBUMENTATIONS_UPDATE=%SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE% |
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 @@ | ||
#!/bin/sh | ||
|
||
# Reset to the old library path for when deactivating the environment | ||
export LD_LIBRARY_PATH=$SLEAP_OLD_LD_LIBRARY_PATH | ||
# Reset to the old variables when deactivating the environment | ||
export LD_LIBRARY_PATH=$SLEAP_OLD_LD_LIBRARY_PATH | ||
export XLA_FLAGS=$SLEAP_OLD_XLA_FLAGS | ||
export NO_ALBUMENTATIONS_UPDATE=$SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE |
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 @@ | ||
# https://github.com/github/roadmap/issues/528 | ||
|
||
channels: | ||
- sleap-deps | ||
- conda-forge | ||
- anaconda | ||
- anaconda |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
# Disable annoying albumentations message | ||
export NO_ALBUMENTATIONS_UPDATE=1 |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
# Reset to the old variables when deactivating the environment | ||
export NO_ALBUMENTATIONS_UPDATE=$SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE |
Oops, something went wrong.