Thanks for reply
Yes, my situation is hang

os.environ[“CUDA_DEVICE_ORDER”] = “PCI_BUS_ID”
os.environ[“CUDA_VISIBLE_DEVICES”] = “0,1,2,3,4,5,6,7”

I used upper code in my script
i waited more than 10m  but it did not work
so if i wait more time, does it work???