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

check pytorch engine environment #1107

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

grimoire
Copy link
Collaborator

@grimoire grimoire commented Feb 2, 2024

Check the environment (PyTorch, Triton) before starting the engine.

If there are any dependency failed, the processing exit(1) with error logs:

2024-02-02 16:41:23,750 - lmdeploy - ERROR - RuntimeError: Triton Error [CUDA]: device kernel image is invalid
2024-02-02 16:41:23,750 - lmdeploy - ERROR - <Triton> environment test failed. Please ensure it has been installed correctly.

Tested on chat and profile_pytorch_generation with/wo tp.
Traceback info has been removed since too many logs might hide the ERROR info.
It would be better if we can change the color of the error info.

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

Copy link
Collaborator

@AllentDan AllentDan 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 4b2fd98 into InternLM:main Feb 20, 2024
3 of 4 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.

None yet

4 participants