-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[torch.compile] Adding torch compile annotations to some models #9876
[torch.compile] Adding torch compile annotations to some models #9876
Conversation
👋 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:
🚀 |
Signed-off-by: youkaichao <[email protected]>
Signed-off-by: youkaichao <[email protected]>
@@ -312,6 +313,7 @@ def forward( | |||
return hidden_states, residual | |||
|
|||
|
|||
@support_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.
this will actually cause on error, but let me merge it first, so that pytorch team can easily reproduce it.
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.
the error is:
RuntimeError: aten/src/ATen/RegisterCUDA.cpp:7275: SymIntArrayRef expected to contain only concrete integers
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.
thanks for the great work!
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]> Signed-off-by: Linkun Chen <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]> Signed-off-by: Richard Liu <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]> Signed-off-by: Loc Huynh <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]> Signed-off-by: Sumit Dubey <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]>
…-project#9876) Signed-off-by: youkaichao <[email protected]> Co-authored-by: youkaichao <[email protected]> Signed-off-by: Maxime Fournioux <[email protected]>
This PR is to improve #9589, adding torch compile annotations to some models and testing them.