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

[feat] Add dependency awareness to torch-trt partitioning #1304

Commits on Oct 6, 2022

  1. [feat] Add dependency awareness to torch-trt partitioning (pytorch#40)

    Adds a heuristic to torch-trt partitioning's segmentation to avoid materializing segments until we hit a dependency of that segment. This can significantly reduce the number of segments/engines in cases where the linear traversal of torchscipt nodes would otherwise produce alternating torch and TRT segments which are not dependent on each-other
    
    Fixes # (issue)
    
    Please delete options that are not relevant and/or add your own.
    
    - Bug fix (non-breaking change which fixes an issue)
    - New feature (non-breaking change which adds functionality)
    - Breaking change (fix or feature that would cause existing functionality to not work as expected)
    - This change requires a documentation update
    
    - [ ] 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
    mfeliz-cruise committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    3a33b6e View commit details
    Browse the repository at this point in the history
  2. lint

    mfeliz-cruise committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    119fd0a View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    86d9924 View commit details
    Browse the repository at this point in the history
  2. fix typo

    mfeliz-cruise committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    7c8a1af View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    56ae9f6 View commit details
    Browse the repository at this point in the history