-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[ao_migration] torchvision: torch.quantization -> torch.ao.quantization #4551
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
Conversation
This pull request was exported from Phabricator. Differential Revision: D31302368 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 821ba3697d549e88e39fe1e60fcda56e420a9d22
ffb8ebe
to
e5253e8
Compare
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: f35bb03baa5fe7b6fa8a0d38eabf54d1e7c864f5
e5253e8
to
ff2eec3
Compare
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 562b28149128821a94a6b38b4381222140f8fbfd
ff2eec3
to
63516bf
Compare
This pull request was exported from Phabricator. Differential Revision: D31302368 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 2a5440df364bdd77a5a1cb7f9e4991fc546edacf
63516bf
to
33821b3
Compare
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: c945b8d677a84b10f042458adb5ed6c0c255bc3d
This pull request was exported from Phabricator. Differential Revision: D31302368 |
33821b3
to
c68d90f
Compare
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 7fb2e62158ff026891aabb846fdbaaaca4106015
c68d90f
to
bbc7a26
Compare
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 638bb31a1d6082defa1e35b207158af2b9191686
bbc7a26
to
3c8ead3
Compare
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: f60adcc1baf67a79c718ecbd7beb7f8000692056
3c8ead3
to
6a67d52
Compare
This pull request was exported from Phabricator. Differential Revision: D31302368 |
…on (pytorch#4551) Summary: Pull Request resolved: pytorch#4551 This changes the imports in the `pytorch/vision` to include the new import locations. ``` codemod -d pytorch/vision --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Differential Revision: D31302368 fbshipit-source-id: 832f5e3790e3888931d4708fea224ce7e7a335c2
This pull request was exported from Phabricator. Differential Revision: D31302368 |
6a67d52
to
de0c50f
Compare
import datetime | ||
import os | ||
import time | ||
import copy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would be nice to separate unrelated changes into a separate PR, there are a lot in this PR
There are a few things going on: we can't merge this PR because it's exported against the fbsync branch which is protected. We need a PR against the main branch. There are a bunch of conflicts due to the recent black-formatting (and sorted import order) that we have recently enabled. I think this PR / diff is based on a version where these changes weren't included in fbcode at the time (The corresponding diff is https://www.internalfb.com/diff/D31380329) and was only landed yesterday. Sorry about all this confusion @z-a-f , our torchvision workflow is quite different from that of pytorch core as we use GitHub as the only source of truth. Hoping that this will help moving things further, I opened #4554 which I think does the same changes intended here. Let's move the discussion in #4554, as this PR here will not be actionable. Please feel free to directly push to #4554 |
OK, I am closing the internal diff as well, assuming that @NicolasHug will take care of the AO migration within the torchvision :) |
@z-a-f my intent with #4554 was to ease the Pr submission process, but if there are any additional changes I believe I might not be the best suited person for this. I have zero knowledge of the ao module. Would you mind following up on my comment in #4554, namely:
and
|
Summary:
This changes the imports in the
pytorch/vision
to include the new import locations.Differential Revision: D31302368