DeepSpeed-MII icon indicating copy to clipboard operation
DeepSpeed-MII copied to clipboard

How do I launch the api on a graphics card other than cuda: 0

Open Stark-zheng opened this issue 1 year ago • 1 comments

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?

Stark-zheng avatar Apr 15 '24 08:04 Stark-zheng

same question, CUDA_VISIBLE_DEVICES not working

zhjunqin avatar May 01 '24 03:05 zhjunqin