Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime per step linearly increases with training step number. #1322

Open
iPRET opened this issue Nov 13, 2024 · 1 comment
Open

Runtime per step linearly increases with training step number. #1322

iPRET opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@iPRET
Copy link

iPRET commented Nov 13, 2024

Describe the bug
Training step time is takes linearly more time with each training step.

To Reproduce
Steps to reproduce the behavior:
My config for running training was:
config.yml.txt
Used slurm for launching. Script run by sbatch was:
launch.sh.txt

Expected behavior
Runtime per train step linearly increases based on train step.
Plot of optimizer step time in ms, based on iteration [data parsed from training logs]:
image
Plot of forward step time in ms, based on iteration:
image
Plot of samples per second, based on iteration:
image

Environment:
Running code on the LUMI supercomputer.
GPUs: Single node run with 8x AMD MI250X GPUs.
Pip list: pip-list.txt
Python version: 3.6.15
Also modified deeperspeed to wrap each launched training process in a singularity container with srun.

Additional info:
Full training log:
slurm3.txt

Any ideas what might be the issue?

@iPRET iPRET added the bug Something isn't working label Nov 13, 2024
@iPRET
Copy link
Author

iPRET commented Nov 14, 2024

Update: it did not replicate with the same config on a different server with NVIDIA L40s.
So I guess it's to do with something to do with the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant