We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
# gpu watch -n 1 -d nvidia-smi # cpu, ram htop
CUDA_VISIBLE_DEVICES=(사용하고 싶은 GPU number) <python_command_line>
예시
python main_train.py
위의 커맨드를 0번 GPU로 돌리고 싶을 때 아래처럼 입력
CUDA_VISIBLE_DEVICES=0 python main_train.py
현재 GPU는 0, 1, 2번 존재