Open Stark-zheng opened 7 months ago
1、deepspeed --include localhost:4 api.py
2、CUDA_VISIBLE_DEVICES=4 python api.py
Neither method can specify cuda to use, so cuda: 0 is used by default
How do I set it?
same question, CUDA_VISIBLE_DEVICES not working
1、deepspeed --include localhost:4 api.py
2、CUDA_VISIBLE_DEVICES=4 python api.py
Neither method can specify cuda to use, so cuda: 0 is used by default
How do I set it?