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

Reorg for converters tanh (FX Converter Refactor [4/N]) <Target: converter_reorg_proto> #1900

Merged
merged 1 commit into from
May 30, 2023

Conversation

apbose
Copy link
Collaborator

@apbose apbose commented May 10, 2023

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some changes that do not conform to Python style guidelines:

--- py/torch_tensorrt/fx/converters/nn_ops_converters.py	2023-05-10 05:47:14.709796 +0000
+++ py/torch_tensorrt/fx/converters/nn_ops_converters.py	2023-05-10 05:47:33.434505 +0000
@@ -33,6 +33,6 @@
        network=network,
        target="torch.nn.modules.activation.Tanh",
        source_ir=SourceIR.NN,
        name=layer_name,
        input_val=kwargs["input"],
-    )
\ No newline at end of file
+    )
--- py/torch_tensorrt/fx/test/converters/aten_op/test_tanh_aten.py	2023-05-10 05:47:14.717797 +0000
+++ py/torch_tensorrt/fx/test/converters/aten_op/test_tanh_aten.py	2023-05-10 05:47:35.200839 +0000
@@ -46,6 +46,6 @@
            TestModule(), input_specs, expected_ops={torch.ops.aten.tanh.default}
        )


if __name__ == "__main__":
-    run_tests()
\ No newline at end of file
+    run_tests()

@narendasan
Copy link
Collaborator

@apbose please run linting.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

@apbose apbose requested review from narendasan, frank-wei and wushirong and removed request for yinghai May 12, 2023 16:57
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

@narendasan narendasan changed the title Reorg for converters tanh (FX Converter Refactor [2/N]) Reorg for converters tanh (FX Converter Refactor [4/N]) May 12, 2023
py/setup.py Outdated
@@ -145,6 +145,7 @@ def build_libtorchtrt_pre_cxx11_abi(develop=True, use_dist_dir=True, cxx11_abi=F
cmd.append("--platforms=//toolchains:ci_rhel_x86_64_linux")
print("CI based build")

cmd.append("--jobs=4")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this change added?

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

@apbose apbose changed the title Reorg for converters tanh (FX Converter Refactor [4/N]) Reorg for converters tanh (FX Converter Refactor [4/N]) <Target: converter_reorg_proto> May 15, 2023
@gs-olive gs-olive force-pushed the converter_reorg_activation_tanh branch from 634d312 to 5c5e1ba Compare May 15, 2023 21:38
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

@narendasan narendasan changed the base branch from converter_reorg_proto to main May 30, 2023 21:13
@narendasan narendasan force-pushed the converter_reorg_activation_tanh branch from 5c5e1ba to 4b4a1b4 Compare May 30, 2023 21:32
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Correcting linting error

correction nn_ops_converters

Undoing setup.py change mistake
@narendasan narendasan force-pushed the converter_reorg_activation_tanh branch from 4b4a1b4 to 13296a0 Compare May 30, 2023 23:57
@narendasan narendasan merged commit ed20f09 into main May 30, 2023
@narendasan narendasan deleted the converter_reorg_activation_tanh branch May 30, 2023 23:57
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

narendasan pushed a commit that referenced this pull request Jun 2, 2023
narendasan pushed a commit that referenced this pull request Jun 2, 2023
narendasan pushed a commit that referenced this pull request Jun 3, 2023
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.

4 participants