-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[5/N][torch.compile] torch.jit.script --> torch.compile #10406
Conversation
Signed-off-by: youkaichao <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
@@ -1770,7 +1770,7 @@ def capture( | |||
# Run the model a few times without capturing the graph. | |||
# This is to make sure that the captured graph does not include the | |||
# kernel launches for initial benchmarking (e.g., Triton autotune). | |||
# Note one iteration is not enough for torch.jit.script | |||
# Note one iteration is not enough for torch.compile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one warmup iteration should be enough for torch.compile
, but we can investigate and confirm later.
Signed-off-by: youkaichao <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
…#10406) Signed-off-by: youkaichao <[email protected]> Signed-off-by: Manjul Mohan <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]> Signed-off-by: Maxime Fournioux <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]> Signed-off-by: rickyx <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]> Signed-off-by: Tyler Michael Smith <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]>
…#10406) Signed-off-by: youkaichao <[email protected]>
Hey @youkaichao, I am running python 3.11 and cuda 12.4 and do a full build of vllm on my environment. My env spec is as following:
When I launch the vllm server, I get this error irrespective of the model type.
I have realised that it is coming from |
fixes #8536
and I also observe performance gain: