Thanks to visit codestin.com
Credit goes to github.com

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

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 before ray start

PATH=/path/to/new/nsys:$PATH ray start --head

@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

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