Skip to content

Commit

Permalink
Add export CUDA_VISIBLE_DEVICES=0
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere authored Dec 22, 2023
1 parent 1cf5414 commit 7ebc5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-gpu/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export PYTHONUNBUFFERED=TRUE
export PYTHONFAULTHANDLER=1
nvidia-smi

export CUDA_VISIBLE_DEVICES=0
if [[ "$(uname -m)" == "aarch64"* ]]; then
export OPENBLAS_CORETYPE=ARMV8
echo "ARM architecture detected. OPENBLAS_CORETYPE set to ARMV8"
Expand Down

0 comments on commit 7ebc5dc

Please sign in to comment.