multi gpus error
i have 2GPUs 3080x2
log
(ootd) root@autodl-container-200a43b416-549738af:~/autodl-tmp/OOTDiffusion-main/run# python gradio_ootd.py
Loading pipeline components...: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:01<00:00, 5.47it/s]
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["id2label"] will be overriden.
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["bos_token_id"] will be overriden.
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["eos_token_id"] will be overriden.
Traceback (most recent call last):
File "/root/autodl-tmp/OOTDiffusion-main/run/gradio_ootd.py", line 24, in TORCH_USE_CUDA_DSA to enable device-side assertions.
Hey, the issue is because OpenPose, Parsing and OOTDifussionDC have device_id as an input in init. It's really strange why someone left code like. Anyways to fix that issue temporary, you can just change 1 to 0 (default device_id when you have 1 GPU)