CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 06:42:16 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/"6a5a50198f247f7a9eb82e69ebd20e30"
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=9NVxV%2FqBPG6wBmVXk3skSt7IjB74XM4jggYGQ9nQ2BhrSshBmTK%2ByI6NDt05dJ1sOVg2rwobcSxmCnxxjaDVafX%2Fr32yb3Gepw11dzlZVthykAiAUYuMaxO%2B1u83161bydvOfgIAYzYb8uENPguHf2jxXjHdD59C37cHuZgiEcpzTf%2FXyk3%2Brs0B23Pn%2FYkbMyeOLIBwkEv4tTr%2F%2BHJrhZZuwhfL8b3j6PH2wZYgCSr6x%2Fds27rdiLC6R71PifVOzQZE8PLVTusTIrzjlJ7Gtg%3D%3D--aGg1WOMx5u%2Bn5Tmk--v3HmvhQjJGjXev9hfLtXKg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1971680235.1753252935; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:42:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:42:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E11C:20AC8F:5521FF:6D5F8A:68808447
support ipex xpu (#1348) · intel/neural-compressor@af0b50f · GitHub
Copy file name to clipboardExpand all lines: examples/pytorch/image_recognition/torchvision_models/quantization/ptq/cpu/ipex/main.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_qa.py
Copy file name to clipboardExpand all lines: examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_quant.sh
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/pytorch.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit af0b50f
File tree
Expand file treeCollapse file tree
14 files changed
+555
-249
lines changedFilter options
- examples/pytorch
- image_recognition/torchvision_models/quantization/ptq/cpu/ipex
- nlp/huggingface_models/question-answering/quantization/ptq_static/ipex
- neural_compressor
- adaptor
- torch_utils
- compression/distillation
- experimental
- common
- nas
- strategy
- test/ipex
Expand file treeCollapse file tree
14 files changed
+555
-249
lines changedexamples/pytorch/image_recognition/torchvision_models/quantization/ptq/cpu/ipex/main.py
Copy file name to clipboardExpand all lines: examples/pytorch/image_recognition/torchvision_models/quantization/ptq/cpu/ipex/main.py+11-2Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
109 | 111 |
| |
110 | 112 |
| |
111 | 113 |
| |
| |||
225 | 227 |
| |
226 | 228 |
| |
227 | 229 |
| |
228 |
| - | |
| 230 | + | |
| 231 | + | |
229 | 232 |
| |
230 | 233 |
| |
231 | 234 |
| |
| |||
297 | 300 |
| |
298 | 301 |
| |
299 | 302 |
| |
300 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
301 | 307 |
| |
302 | 308 |
| |
303 | 309 |
| |
| |||
417 | 423 |
| |
418 | 424 |
| |
419 | 425 |
| |
| 426 | + | |
| 427 | + | |
| 428 | + | |
420 | 429 |
| |
421 | 430 |
| |
422 | 431 |
| |
|
examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/requirements.txt
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
|
examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_qa.py
Copy file name to clipboardExpand all lines: examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_qa.py+11-2Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
| |||
650 | 652 |
| |
651 | 653 |
| |
652 | 654 |
| |
| 655 | + | |
| 656 | + | |
| 657 | + | |
653 | 658 |
| |
654 | 659 |
| |
655 | 660 |
| |
| |||
664 | 669 |
| |
665 | 670 |
| |
666 | 671 |
| |
| 672 | + | |
| 673 | + | |
667 | 674 |
| |
668 | 675 |
| |
669 | 676 |
| |
| |||
680 | 687 |
| |
681 | 688 |
| |
682 | 689 |
| |
683 |
| - | |
| 690 | + | |
684 | 691 |
| |
685 | 692 |
| |
686 | 693 |
| |
| |||
692 | 699 |
| |
693 | 700 |
| |
694 | 701 |
| |
| 702 | + | |
| 703 | + | |
695 | 704 |
| |
696 | 705 |
| |
697 | 706 |
| |
|
examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_quant.sh
Copy file name to clipboardExpand all lines: examples/pytorch/nlp/huggingface_models/question-answering/quantization/ptq_static/ipex/run_quant.sh+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
neural_compressor/adaptor/pytorch.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/pytorch.py+54-67Lines changed: 54 additions & 67 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 |
| |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
123 | 96 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
| 97 | + | |
138 | 98 |
| |
139 | 99 |
| |
140 | 100 |
| |
141 | 101 |
| |
142 | 102 |
| |
| 103 | + | |
| 104 | + | |
143 | 105 |
| |
144 | 106 |
| |
145 | 107 |
| |
| 108 | + | |
146 | 109 |
| |
147 | 110 |
| |
| 111 | + | |
148 | 112 |
| |
149 | 113 |
| |
150 | 114 |
| |
| |||
162 | 126 |
| |
163 | 127 |
| |
164 | 128 |
| |
| 129 | + | |
165 | 130 |
| |
166 | 131 |
| |
167 | 132 |
| |
| |||
814 | 779 |
| |
815 | 780 |
| |
816 | 781 |
| |
| 782 | + | |
817 | 783 |
| |
818 | 784 |
| |
819 | 785 |
| |
| |||
881 | 847 |
| |
882 | 848 |
| |
883 | 849 |
| |
884 |
| - | |
| 850 | + | |
885 | 851 |
| |
886 | 852 |
| |
887 | 853 |
| |
888 | 854 |
| |
889 | 855 |
| |
890 | 856 |
| |
891 |
| - | |
| 857 | + | |
892 | 858 |
| |
893 | 859 |
| |
894 | 860 |
| |
| |||
936 | 902 |
| |
937 | 903 |
| |
938 | 904 |
| |
939 |
| - | |
| 905 | + | |
940 | 906 |
| |
941 | 907 |
| |
942 | 908 |
| |
| |||
978 | 944 |
| |
979 | 945 |
| |
980 | 946 |
| |
981 |
| - | |
| 947 | + | |
982 | 948 |
| |
983 | 949 |
| |
984 | 950 |
| |
| |||
2272 | 2238 |
| |
2273 | 2239 |
| |
2274 | 2240 |
| |
2275 |
| - | |
| 2241 | + | |
2276 | 2242 |
| |
2277 | 2243 |
| |
2278 | 2244 |
| |
| |||
2639 | 2605 |
| |
2640 | 2606 |
| |
2641 | 2607 |
| |
2642 |
| - | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
2643 | 2611 |
| |
2644 | 2612 |
| |
2645 | 2613 |
| |
| |||
2651 | 2619 |
| |
2652 | 2620 |
| |
2653 | 2621 |
| |
2654 |
| - | |
2655 | 2622 |
| |
2656 | 2623 |
| |
2657 | 2624 |
| |
| |||
2669 | 2636 |
| |
2670 | 2637 |
| |
2671 | 2638 |
| |
| 2639 | + | |
| 2640 | + | |
2672 | 2641 |
| |
2673 | 2642 |
| |
2674 | 2643 |
| |
| |||
2722 | 2691 |
| |
2723 | 2692 |
| |
2724 | 2693 |
| |
2725 |
| - | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2726 | 2700 |
| |
2727 | 2701 |
| |
2728 | 2702 |
| |
| |||
3107 | 3081 |
| |
3108 | 3082 |
| |
3109 | 3083 |
| |
3110 |
| - | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
3111 | 3090 |
| |
3112 | 3091 |
| |
3113 | 3092 |
| |
| |||
3145 | 3124 |
| |
3146 | 3125 |
| |
3147 | 3126 |
| |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
3148 | 3130 |
| |
3149 | 3131 |
| |
3150 | 3132 |
| |
| |||
3400 | 3382 |
| |
3401 | 3383 |
| |
3402 | 3384 |
| |
3403 |
| - | |
| 3385 | + | |
3404 | 3386 |
| |
3405 | 3387 |
| |
3406 | 3388 |
| |
| |||
3919 | 3901 |
| |
3920 | 3902 |
| |
3921 | 3903 |
| |
3922 |
| - | |
| 3904 | + | |
3923 | 3905 |
| |
3924 | 3906 |
| |
3925 | 3907 |
| |
| |||
4936 | 4918 |
| |
4937 | 4919 |
| |
4938 | 4920 |
| |
4939 |
| - | |
| 4921 | + | |
4940 | 4922 |
| |
4941 | 4923 |
| |
4942 | 4924 |
| |
| 4925 | + | |
4943 | 4926 |
| |
4944 | 4927 |
| |
4945 | 4928 |
| |
| |||
4973 | 4956 |
| |
4974 | 4957 |
| |
4975 | 4958 |
| |
| 4959 | + | |
| 4960 | + | |
| 4961 | + | |
| 4962 | + | |
4976 | 4963 |
| |
4977 | 4964 |
| |
4978 | 4965 |
| |
|
You can’t perform that action at this time.
0 commit comments