-
Notifications
You must be signed in to change notification settings - Fork 355
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 aten.log1p converter #2823
Conversation
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.
Just a minor comment. The others LGTM. Can you merge it after fixing the functions' names?
@@ -1165,6 +1165,57 @@ def aten_ops_log( | |||
) | |||
|
|||
|
|||
@dynamo_tensorrt_converter(torch.ops.aten.log2.default) | |||
def log2( |
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 just noticed the naming was inconsistent. Can you modify the function name to aten_ops_log2
?
|
||
|
||
@dynamo_tensorrt_converter(torch.ops.aten.log10.default) | ||
def log10( |
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.
Same as above. log10
-> aten_ops_log10
Description
A converter for the torch.ops.aten.log1p operation (elementwise log(1 + x))
Fixes # (issue)
Type of change
Checklist: