-
Notifications
You must be signed in to change notification settings - Fork 533
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The same seed seems to be used by every GPU, so using multi-GPU produces the same result as just using 1.
Reproduction:
python launch.py --config configs/dreamfusion-if.yaml --train --gpu 0,1 system.prompt_processor.prompt="a zoomed out DSLR photo of a baby bunny sitting on top of a stack of pancakes" data.batch_size=2 data.n_val_views=4
The log indicates that all GPUs' global seed are set to the same value:
[rank: 0] Global seed set to 0
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/2
...
**[rank: 1] Global seed set to 0**
**[rank: 1] Global seed set to 0**
Initializing distributed: GLOBAL_RANK: 1, MEMBER: 2/2
I also compared images produced in a run with 2 GPUs, with the ones produced in 1 GPU, and the images were identical.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working