The trainer will move diffusion (the model) to the accelerator device -- cuda, which is written and fixed in Accelerator class. And accelerator.device is a read-only property that can not be changed.
How can I perform my training on cuda:1 (or other devices)?
Thanks a lot.