Skip to content

ray nsys profile support #3448

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

Merged
merged 3 commits into from
May 12, 2025
Merged

ray nsys profile support #3448

merged 3 commits into from
May 12, 2025

Conversation

grimoire
Copy link
Collaborator

@grimoire grimoire commented Apr 17, 2025

Note

This PR is used to profile GPU with ray. It has nothing to do with tp=1.

# Do NOT call this with nsys profile !!!
LMDEPLOY_RAY_NSYS_ENABLE=1 \
LMDEPLOY_RAY_NSYS_OUT_PREFIX=/path/to/save/prefix_ \
python your_script.py

If you want to use non-default nsys, please update PATH environment

PATH=/path/to/new/nsys:$PATH

@grimoire grimoire marked this pull request as draft April 17, 2025 07:47
@grimoire grimoire marked this pull request as ready for review April 17, 2025 08:01
Copy link
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

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

LGTM

@lvhan028 lvhan028 merged commit 6fc2d54 into InternLM:main May 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants