-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[quant][pt2e] Add documentation for pt2 export static quant #2504
Conversation
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2504
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9e3850d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 46c2e8a23b1a6e6227d819d44d707aa23c897ea4 Pull Request resolved: #2504
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.
A few editorial suggestions. Can you please also add pt2e_quant_ptq_static to https://github.com/pytorch/tutorials/blob/main/prototype_source/prototype_index.rst
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: e095f0dc16dc8b1f0ce06cf7dd5f5d031851e198 Pull Request resolved: #2504
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 8a5653e65cefcb7d6c2e251a2dc1191c0a5deb20 Pull Request resolved: #2504
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 6d1ab4f765adace8043acd0baed60de8f98f8070 Pull Request resolved: #2504
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 1d7c13e8fa82da770edb62fb6ccc99ac3fae74a4 Pull Request resolved: #2504
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 17a032680643dcd017fe357c1320093f9613cc66 Pull Request resolved: #2504
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.
stamping to unblock
@pytorchbot rebase |
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: att Test Plan: visual inspection Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 97a24667438a72af607809cbfd6141d99f49ada8 Pull Request resolved: #2504
fix the html
fix the html
**Author**: `Jerry Zhang <https://github.com/jerryzh168>`_ | ||
|
||
This tutorial introduces the steps to do post training static quantization in graph mode based on | ||
`torch._export.export <https://pytorch.org/docs/main/export.html>`_. Compared to `FX Graph Mode Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_static.html>`, this flow is expected to have significantly higher model coverage (`88% on 14K models <https://github.com/pytorch/pytorch/issues/93667#issuecomment-1601171596>`), better programmability, and a simplified UX. |
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.
@svekars looks like you are making some final updates, could you add _
to "FX Graph Mode Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_static.html>
" as well?
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.
Merging to unblock. Will submit a follow-up PR with formatting corrections.
Stack from ghstack (oldest at bottom):
Summary:
att
Test Plan:
visual inspection
Reviewers:
Subscribers:
Tasks:
Tags:
cc @jianyuh