Skip to content

Commit

Permalink
remove gpu all nvidia error command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Dec 19, 2024
1 parent adec73a commit 81cc952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bajor/batch/train_finetuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def create_job_tasks(job_id, task_id=1, run_opts=''):
'/bin/bash -c "'
'set -ex; '
f'{wait_for_preparation_task_completion}; '
'nvidia-smi; || echo \\"nvidia-smi command failed\\"; '
'nvidia-smi; '
'python -c \\"import torch; print(torch.cuda.is_available()); print(torch.cuda.device_count())\\"; '
f'{setup_pytorch_kernel_cache_env_var}; '
f'{setup_hugging_face_cache_env_var}; '
Expand Down

0 comments on commit 81cc952

Please sign in to comment.