forked from alycialee/beyond-scale-language-data-diversity
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Brando Miranda
committed
Jan 30, 2024
1 parent
0b72bfa
commit eb7aa88
Showing
5 changed files
with
86 additions
and
41 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -27,12 +27,21 @@ python -c "import torch; print(f'{torch.cuda.device_count()=}'); print(f'Device: | |
# -- Install uutils from source | ||
# - Get the code, put it in afs so its available to all machines and symlink it to home in the local machine | ||
cd /afs/cs.stanford.edu/u/brando9/ | ||
ln -s /afs/cs.stanford.edu/u/brando9/ultimate-utils $HOME/ultimate-utils | ||
git clone [email protected]:brando90/ultimate-utils.git $HOME/ultimate-utils/ | ||
ln -s /afs/cs.stanford.edu/u/brando9/ultimate-utils $HOME/ultimate-utils | ||
# - Install the library in editable mode so that changes are reflected immediately in running code | ||
pip install -e ~/ultimate-utils | ||
#pip uninstall ~/ultimate-utils | ||
|
||
# -- Install ultimate-anatome | ||
# - Get the code, put it in afs so its available to all machines and symlink it to home in the local machine | ||
cd /afs/cs.stanford.edu/u/brando9/ | ||
git clone [email protected]:brando90/ultimate-anatome.git $HOME/ultimate-anatome/ | ||
ln -s /afs/cs.stanford.edu/u/brando9/ultimate-anatome $HOME/ultimate-anatome | ||
# - Install the library in editable mode so that changes are reflected immediately in running code | ||
pip install -e ~/ultimate-anatome | ||
#pip uninstall ~/ultimate-anatome | ||
|
||
# - Test uutils | ||
python -c "import uutils; uutils.torch_uu.gpu_test()" | ||
|
||
|
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