Skip to content

Commit c3409dc

Browse files
committed
change to GPU 2
1 parent 864be74 commit c3409dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

experiments/gpt2_wikitext/score_TRAK_slurm.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ echo "job is starting on `hostname`"
1111
echo "Running TRAK scoring for seed: ${SLURM_ARRAY_TASK_ID}"
1212

1313
# PyTorch memory management
14+
export CUDA_VISIBLE_DEVICES=2
1415
export PYTORCH_ALLOC_CONF=expandable_segments:True,max_split_size_mb:512
15-
export CUDA_LAUNCH_BLOCKING=2
16+
export TOKENIZERS_PARALLELISM=false
17+
#export CUDA_LAUNCH_BLOCKING=2
1618

1719
# Create logs directory if it doesn't exist
1820
mkdir -p logs

0 commit comments

Comments
 (0)