Closed syyxsxx closed 3 weeks ago
Did you install the diffusers library using source code, and also, --multi_gpu must be kept, otherwise you need to add local_machine and set the gpu id
Did you install the diffusers library using source code, and also, --multi_gpu must be kept, otherwise you need to add local_machine and set the gpu id
@zRzRzRzRzRzRzR i have installed the diffusers library by using source code, also i use CUDA_VISIBLE_DEVICES to set the gpu id, What do you mean about add local_machine ps thanks for your replay
i believe it has something to do with accelerate version.
@syyxsxx does it work right now?
can you try with accelerate with version 1.0.0
@zRzRzRzRzRzRzR can you upload runable version of pip freeze?
hi guys, as @zRzRzRzRzRzRzR say, i use CUDA_VISIBLE_DEVICES to set the gpu id and add --multi_gpu, i work for me thanks @zRzRzRzRzRzRzR i will close the issue
System Info / 系統信息
h100 cuda-12.2
Information / 问题信息
Reproduction / 复现过程
单卡h100, 运行 finetune_single_rank.sh 其中去掉了--multi_gpu 跑官方的例子会报这个错误 accelerate设置使用和不使用deepspeed都一样
Expected behavior / 期待表现
希望大佬能帮忙解决这个问题