-
Notifications
You must be signed in to change notification settings - Fork 361
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
feat: Support flashinfer.rmsnorm #3424
base: main
Are you sure you want to change the base?
Conversation
…add flashinfer.rmsnorm support test case
py/torch_tensorrt/dynamo/conversion/plugins/_generate_plugin.py
Outdated
Show resolved
Hide resolved
py/torch_tensorrt/dynamo/conversion/plugins/_generate_plugin.py
Outdated
Show resolved
Hide resolved
@bowang007 Can you move the auto plugin gen tests to a runner other than the one used for converter tests? |
shape_calc_fns = [None] * output.ndim | ||
|
||
for i in range(output.ndim): | ||
input_node_expr = input_node_expr = list( |
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.
seems to be a typo here
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.
line 112 and 125 are duplicated?
@@ -6,3 +6,4 @@ torch>=2.7.0.dev,<2.8.0 | |||
torchvision>=0.22.0.dev,<0.23.0 | |||
--extra-index-url https://pypi.ngc.nvidia.com | |||
pyyaml | |||
flashinfer-python |
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.
should we install here ?
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.
move it to tests/py/requirements.txt
This PR resolves some issues and support flashinfer.rmsnorm
Checklist: