CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 02:41:27 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/intel/neural-compressor.git
etag: W/"227e87adcffccf7737a51cf4ce424bc9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=A6uhbME%2FN%2BDCVgzdw9YPBiBw10OQaKTqFvP6%2FiVNc5mHs7T83tRswmBHK168QP2fY9WoDbkb7AFGSpUwuCa1VGUkvFifjSZBvuj0ImTJUOMmMcH%2BzEaklROeA%2BNEv%2BJi9ED4idJ9R%2BlIoBqVkzgpxoogVjtPdCiq4Av8BMIQtuJsvTjpGOYSLt0FwLBOpbs6IVkuz4InPVcTAruCZxAWhPRr6cWI3Tjr7FoTfCD64x90R4fp0OPSyLByu1pWCeuWo%2FaWKE4BTrg6bqaStRnHMA%3D%3D--dmyQys9WmsMUtFE%2B--bYj6T0TAQ5k6bL5jqBhOXQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.217711163.1753152086; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 02:41:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 02:41:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9B22:2FCEB6:90355:D58E3:687EFA56
Add pt2e dynamic quantization (#1795) · intel/neural-compressor@30b36b8 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/pt2e_quant/__init__.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/pt2e_quant/core.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/__init__.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/config.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/constants.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/environ.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/utility.py
Copy file name to clipboardExpand all lines: test/3x/torch/algorithms/pt2e_quant/test_pt2e_w8a8.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit 30b36b8
File tree
Expand file treeCollapse file tree
10 files changed
+167
-41
lines changedFilter options
- neural_compressor/torch
- algorithms/pt2e_quant
- quantization
- utils
- test/3x/torch
- algorithms/pt2e_quant
- quantization
Expand file treeCollapse file tree
10 files changed
+167
-41
lines changedneural_compressor/torch/algorithms/pt2e_quant/__init__.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/pt2e_quant/__init__.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + |
neural_compressor/torch/algorithms/pt2e_quant/core.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/pt2e_quant/core.py+9-5Lines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
23 |
| - | |
24 | 22 |
| |
25 | 23 |
| |
26 | 24 |
| |
| |||
30 | 28 |
| |
31 | 29 |
| |
32 | 30 |
| |
33 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 |
| |
41 |
| - | |
| 45 | + | |
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
|
neural_compressor/torch/quantization/__init__.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/__init__.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
| 39 | + | |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
|
neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py+24-4Lines changed: 24 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
189 | 209 |
| |
190 | 210 |
| |
191 | 211 |
| |
192 | 212 |
| |
193 | 213 |
| |
194 |
| - | |
| 214 | + | |
195 | 215 |
| |
196 | 216 |
| |
197 | 217 |
| |
198 | 218 |
| |
199 | 219 |
| |
200 | 220 |
| |
201 |
| - | |
| 221 | + | |
202 | 222 |
| |
203 | 223 |
| |
204 | 224 |
| |
|
neural_compressor/torch/quantization/config.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/config.py+76-1Lines changed: 76 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
| |||
778 | 779 |
| |
779 | 780 |
| |
780 | 781 |
| |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
781 | 856 |
| |
782 | 857 |
| |
783 | 858 |
| |
|
neural_compressor/torch/utils/constants.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/constants.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| 55 | + |
neural_compressor/torch/utils/environ.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/environ.py+9-9Lines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
43 | 41 |
| |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
47 |
| - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
neural_compressor/torch/utils/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/utility.py+20-9Lines changed: 20 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
| 177 | + | |
| 178 | + | |
177 | 179 |
| |
178 | 180 |
| |
179 | 181 |
| |
180 | 182 |
| |
181 | 183 |
| |
| 184 | + | |
182 | 185 |
| |
183 | 186 |
| |
184 | 187 |
| |
| 188 | + | |
| 189 | + | |
| 190 | + | |
185 | 191 |
| |
186 | 192 |
| |
187 | 193 |
| |
188 | 194 |
| |
189 | 195 |
| |
190 |
| - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
191 | 202 |
| |
192 | 203 |
| |
193 | 204 |
| |
194 | 205 |
| |
195 |
| - | |
196 |
| - | |
| 206 | + | |
| 207 | + | |
197 | 208 |
| |
198 |
| - | |
| 209 | + | |
199 | 210 |
| |
200 | 211 |
| |
201 | 212 |
| |
| |||
210 | 221 |
| |
211 | 222 |
| |
212 | 223 |
| |
213 |
| - | |
| 224 | + | |
214 | 225 |
| |
215 | 226 |
| |
216 |
| - | |
| 227 | + | |
217 | 228 |
| |
218 | 229 |
| |
219 | 230 |
| |
220 |
| - | |
| 231 | + | |
221 | 232 |
| |
222 | 233 |
| |
223 | 234 |
| |
|
test/3x/torch/algorithms/pt2e_quant/test_pt2e_w8a8.py
Copy file name to clipboardExpand all lines: test/3x/torch/algorithms/pt2e_quant/test_pt2e_w8a8.py+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
|
You can’t perform that action at this time.
0 commit comments