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

fix: fix the error that collection input segmented into trt subgraph #1225

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

bowang007
Copy link
Collaborator

Signed-off-by: Bo Wang bowa@nvidia.com

Description

If there are nonTensor input for the graph and the nodes that use this nonTensor input are supported in torch-tensorrt, then these nodes will be segmented into TensorRT subgraph, which causes errors since nonTensor input is not directly supported in TRT engine.

Type of change

Please delete options that are not relevant and/or add your own.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

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 merged commit 253b3c7 into squashed_collections Aug 3, 2022
@bowang007 bowang007 deleted the fix_collection_partitioning branch August 19, 2022 21:13
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.

None yet

3 participants