Skip to content

Commit 2b85816

Browse files
fix: stop overriding CUDA_VISIBLE_DEVICES; htcondor's allocation is already set
1 parent d75829d commit 2b85816

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

chtc/baseline.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export TORCHINDUCTOR_CACHE_DIR=$_CONDOR_SCRATCH_DIR/torch_cache
3232
export XDG_CACHE_HOME=$_CONDOR_SCRATCH_DIR/xdg_cache
3333

3434
# --- vLLM ---
35-
export CUDA_VISIBLE_DEVICES=0
35+
# Do NOT touch CUDA_VISIBLE_DEVICES here. HTCondor sets it to the specific
36+
# GPU(s) allocated to this job (possibly a UUID or non-zero index). Overriding
37+
# it to "0" points CUDA at a device we don't actually have.
3638
export VLLM_USAGE_DISABLE=1
3739
export OUTLINES_CACHE_DIR=/tmp/.outlines
3840

0 commit comments

Comments
 (0)