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

add GPU memory check script #702

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

Dominic789654
Copy link
Contributor

To start checking the GPU memory usage at each step during a normal training process, execute the following command: bash ./scripts/run_detail_gpu_memory.sh.
The script runs without gradient checkpointing, DeepSpeed, or Flash Attention, and only includes the base training process.

Copy link
Contributor

@research4pan research4pan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks. The style of the script can be further improved, but as an early version of the script it is acceptable.

@research4pan research4pan merged commit c1e2b94 into OptimalScale:main Mar 18, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants