Using stable-dreamfusion with Accelerate

Hi team

I’m new to ML and I’m looking how can we integrate accelerate with stable-dreamfusion? Here ( it says that accelerate is integrated with Accelerate but when I do run the code it only run in 1 gpu. I have 8 gpus in total. Is there something that needs configuring first before I can start utilizing all gpus for training?

Code for stable-dreamfusion: Webaverse/Stable-Dreamfusion · Hugging Face

Thank you very much

Hello, you need to prepare accelerate config and then use accelerate launch for launching the training/inference. More info can be found on the official docs: Accelerate (