-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mutagenesis): use lustre dir paths for more universal access #136
Also fixed issue with huggingface caching
- Loading branch information
Showing
4 changed files
with
30 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
#SBATCH -t 10:00 | ||
#SBATCH -t 30:00 | ||
#SBATCH --job-name=run_mutagenesis_davis_esm | ||
#SBATCH --mem=10G | ||
|
||
|
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,18 @@ | ||
#!/bin/bash | ||
|
||
ROOT_DIR="/lustre06/project/6069023" | ||
SCRATCH_DIR="/lustre07/scratch/jyaacoub/" # this is used for outputs on narval | ||
BIN_DIR="${ROOT_DIR}/jyaacoub/bin" # for modeller | ||
|
||
# Modeller is needed for this to run... (see: Generic install - https://salilab.org/modeller/10.5/release.html#unix) | ||
export PYTHONPATH="${PYTHONPATH}:${BIN_DIR}/modeller10.5/lib/x86_64-intel8/python3.3:${BIN_DIR}/modeller10.5/lib/x86_64-intel8:${BIN_DIR}/modeller10.5/modlib" | ||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BIN_DIR}/modeller10.5/lib/x86_64-intel8" | ||
|
||
cd ${ROOT_DIR}/jyaacoub/MutDTA | ||
source .venv/bin/activate | ||
|
||
# export TRANSFORMERS_CACHE="${ROOT_DIR}/jyaacoub/hf_models/" | ||
# export HF_HOME=${TRANSFORMERS_CACHE} | ||
# export HF_HUB_OFFLINE=1 | ||
|
||
python -u playground.py |
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