fix: Reorganize Dynamo directory + backends#1928
Merged
gs-olive merged 2 commits intopytorch:mainfrom May 18, 2023
Merged
Conversation
503992a to
7d658d6
Compare
gs-olive
commented
May 17, 2023
|
|
||
|
|
||
| def compile_module( | ||
| def _compile_module( |
Contributor
Author
There was a problem hiding this comment.
Added "_" to name, as the function is intended only for internal/helper use (requires a pre-traced FX GraphModule)
2eaf7ca to
05f2812
Compare
- Rename key backends to establish default backend and optional alternatives - Update function headers and docstrings, as well as key imports - Rename `torch_compile` folder to `backends` in accordance with `torch.compile` terminology - Update references throughout codebase - Specify certain functions as private/helper via underscore - Update tests and defaults to match expected number of engines to generate
05f2812 to
608c3ed
Compare
gs-olive
added a commit
that referenced
this pull request
May 18, 2023
narendasan
pushed a commit
that referenced
this pull request
May 30, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
torch_compilefolder tobackendin accordance withtorch.compileterminologyType of change
Checklist: