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

[ao][fx] public v private convert.py #88394

Closed
wants to merge 24 commits into from

Conversation

HDCharles
Copy link
Contributor

@HDCharles HDCharles commented Nov 3, 2022

Stack from ghstack (oldest at bottom):

Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D41015547

cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel

Summary: made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 3, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/88394

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit af03c52:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Summary: made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@HDCharles
Copy link
Contributor Author

@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary: made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
@HDCharles
Copy link
Contributor Author

@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary: made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
@HDCharles
Copy link
Contributor Author

@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
HDCharles added a commit that referenced this pull request Dec 9, 2022
Pull Request resolved: #88394


made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private
ghstack-source-id: 175621748

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547/)
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
HDCharles added a commit that referenced this pull request Dec 9, 2022
Pull Request resolved: #88394


made _restore_state,
_has_none_qconfig,
_restore_st_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private
ghstack-source-id: 175660904

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547/)
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
@HDCharles
Copy link
Contributor Author

@pytorchmergebot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 12, 2022
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 additional jobs have failed, first few of them are: trunk ,trunk / linux-bionic-cuda11.7-py3.10-gcc7 / test (distributed, 1, 3, linux.8xlarge.nvidia.gpu)

Details for Dev Infra team Raised by workflow job

Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015547](https://our.internmc.facebook.com/intern/diff/D41015547)

cc jerryzh168 jianyuh raghuramank100 jamesr66a vkuzo jgong5 Xia-Weiwen leslie-fang-intel

[ghstack-poisoned]
@HDCharles
Copy link
Contributor Author

@pytorchmergebot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

hasanyeganeh pushed a commit to hasanyeganeh/pytorch-pytorch that referenced this pull request Dec 21, 2022
Summary: made _restore_state,
_has_none_qconfig,
_run_weight_observers,
_maybe_recursive_remove_dequantize,
_get_module_path_and_prefix,
_insert_dequantize_node,
_maybe_get_observer_for_node,
_remove_previous_dequantize_in_custom_module private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 49829c5d9065ab7b96c55ae68a55cfd972d3e09d
Pull Request resolved: pytorch/pytorch#88394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: quantization Quantization support in PyTorch release notes: AO frontend release notes: quantization release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants