-
Notifications
You must be signed in to change notification settings - Fork 37
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
dynamo + torchdeploy bug #265
Open
PaliC
wants to merge
3
commits into
gh/PaliC/87/base
Choose a base branch
from
gh/PaliC/87/head
base: gh/PaliC/87/base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
[ghstack-poisoned]
PaliC
added a commit
that referenced
this pull request
Nov 11, 2022
ghstack-source-id: 902145d48118591188d0f0b72e1043152e8a6d2f Pull Request resolved: #265
facebook-github-bot
added
the
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
label
Nov 11, 2022
I ran into a few bugs when trying to use deploy + dynamo. This PR adds some torchdynamo unit tests to create a minimal repro for these bugs. So far there are 2 bugs 1. Outputs of using dynamo + torchscript + deploy is inconsistent with using just torchscript. 2. Multithreading models which use dynamo run into errors with prims. The output of building and running `test_deploy_compat.cpp` (which contain single and multithreaded dynamo+torchscript+deploy tests using resnet) are [here](https://pastebin.com/vZxNsFJj). One can run these tests again by running ``` cd multipy python multipy/runtime/example/generate_examples.py python -m pip install -e . ./multipy/runtime/build/test_deploy_compat ``` [ghstack-poisoned]
PaliC
added a commit
that referenced
this pull request
Nov 12, 2022
ghstack-source-id: 9242e6a7129f0eaf761c98b89a012f5d8367fcc1 Pull Request resolved: #265
I ran into a few bugs when trying to use deploy + dynamo. This PR adds some torchdynamo unit tests to create a minimal repro for these bugs. So far there are 2 bugs 1. Outputs of using dynamo + torchscript + deploy is inconsistent with using just torchscript. 2. Multithreading models which use dynamo run into errors with prims. The output of building and running `test_deploy_compat.cpp` (which contain single and multithreaded dynamo+torchscript+deploy tests using resnet) are [here](https://pastebin.com/vZxNsFJj). One can run these tests again by running ``` cd multipy python multipy/runtime/example/generate_examples.py python -m pip install -e . ./multipy/runtime/build/test_deploy_compat ``` [ghstack-poisoned]
PaliC
added a commit
that referenced
this pull request
Nov 15, 2022
ghstack-source-id: 7ea1be26e094c152e9e2f4e329c8717e00bf46d3 Pull Request resolved: #265
@PaliC has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
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.
Stack from ghstack (oldest at bottom):
I ran into a few bugs when trying to use deploy + dynamo. This PR adds some torchdynamo unit tests to create a minimal repro for these bugs. So far there are 2 bugs
The output of building and running
test_deploy_compat.cpp
(which contain single and multithreaded dynamo+torchscript+deploy tests using resnet) are here.One can run these tests again by running
Differential Revision: D41349350