You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running experiments using the ILQL sentiment example code. When using a single A100 GPU, I got an evaluation score of 0.9286 after 1k steps of training. However, when I switched to multi-GPU training (2 A100s), after 1000 steps, I got a score of 0.692. I use the Huggingface accelerate. All hyper-parameters are the same. Any idea why this happens?
Multi-GPU training command: accelerate launch --config_file accelerator_config.yaml examples/ilql_sentiments.py
Which trlX version are you using?
trlX==0.3.0
Additional system and package information
pytorch==1.13.0+cu116
The text was updated successfully, but these errors were encountered:
The only difference in runs with the same config.yml on variable number of gpus is a different total batch_size (this variable functions as a micro batch size in the config). Accounting for that and dividing it by 4 for 4 gpus (128/4=32 batch_size) would give same curves:
🐛 Describe the bug
I was running experiments using the ILQL sentiment example code. When using a single A100 GPU, I got an evaluation score of 0.9286 after 1k steps of training. However, when I switched to multi-GPU training (2 A100s), after 1000 steps, I got a score of 0.692. I use the Huggingface accelerate. All hyper-parameters are the same. Any idea why this happens?
Multi-GPU training command:
accelerate launch --config_file accelerator_config.yaml examples/ilql_sentiments.py
Which trlX version are you using?
trlX==0.3.0
Additional system and package information
pytorch==1.13.0+cu116
The text was updated successfully, but these errors were encountered: