Skip to content

Commit

Permalink
Restoring cuda visible devices
Browse files Browse the repository at this point in the history
  • Loading branch information
oandreeva-nv committed Dec 4, 2024
1 parent 62850e3 commit 34bdcb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qa/L0_sequence_batcher/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ TEST_RESULT_FILE='test_results.txt'
# can fail when the requests are distributed to multiple devices.
ldconfig || true

export CUDA_VISIBLE_DEVICES=$(nvidia-smi --query-gpu=index,name --format=csv,noheader | grep A100 | awk -F',' '{print $1}' | head -n 1)
echo $CUDA_VISIBLE_DEVICES
export CUDA_VISIBLE_DEVICES=0

CLIENT_LOG="./client.log"
BATCHER_TEST=sequence_batcher_test.py
Expand Down

0 comments on commit 34bdcb4

Please sign in to comment.