CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 10:11:45 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/"a6dbade7bf9a1411db352e8b980ff1d6"
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=rs4DizsthMFJCfuTtgppBH%2FNQ9Og0Lqr1bS5eBAWmlff7hMifJOiDMEJVn6prpEqFEs2oVIJXx3UUeKYgFICGY8j6JgmUm%2BymS0edom3nzcbfofqd278LgTSzkBwPak9WX9h1k%2BkpWHg2aZGlkmZr5pBWnesUnzEBLbyHupruSDDnlBAnUx6saZEGwFu5EvGsC2YPGpmbAFBceiOTVXmFVpWzOF0n8ggcD%2FoDY1iUiR9Bap2%2B9n2CzfRToLF8ngODvmSFSzkpO7oS8GHGuYlRQ%3D%3D--IfHLMLD3o5gyhgZo--m3yqbcRYzIJ9bFqCSGpxMw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.773264535.1753265504; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 10:11:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 10:11:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A8AE:351DD4:8E8C8D:AD4BD0:6880B560
Add an ONNXRT WOQ tuning example (#1345) · intel/neural-compressor@934ba03 · GitHub
Copy file name to clipboardExpand all lines: docs/source/quantization_weight_only.md
Copy file name to clipboardExpand all lines: examples/.config/model_params_onnxrt.json
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/README.md
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/main.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/run_quant.sh
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/weight_only/README.md
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 934ba03
File tree
Expand file treeCollapse file tree
16 files changed
+396
-135
lines changedFilter options
- docs/source
- examples
- .config
- onnxrt/nlp/huggingface_model/text_generation/llama/quantization
- ptq_static
- weight_only
- neural_compressor
- adaptor
- ox_utils
- model
- strategy
- test/adaptor/onnxrt_adaptor
Expand file treeCollapse file tree
16 files changed
+396
-135
lines changeddocs/source/quantization_weight_only.md
Copy file name to clipboardExpand all lines: docs/source/quantization_weight_only.md+34-29Lines changed: 34 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
| |||
142 | 144 |
| |
143 | 145 |
| |
144 | 146 |
| |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 | 147 |
| |
175 | 148 |
| |
176 | 149 |
| |
| |||
213 | 186 |
| |
214 | 187 |
| |
215 | 188 |
| |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 |
| |
217 | 222 |
| |
218 | 223 |
| |
|
examples/.config/model_params_onnxrt.json
Copy file name to clipboardExpand all lines: examples/.config/model_params_onnxrt.json+15-8Lines changed: 15 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
756 | 756 |
| |
757 | 757 |
| |
758 | 758 |
| |
759 |
| - | |
| 759 | + | |
760 | 760 |
| |
761 | 761 |
| |
762 |
| - | |
| 762 | + | |
763 | 763 |
| |
764 | 764 |
| |
765 | 765 |
| |
766 |
| - | |
| 766 | + | |
767 | 767 |
| |
768 | 768 |
| |
769 |
| - | |
| 769 | + | |
770 | 770 |
| |
771 | 771 |
| |
772 | 772 |
| |
773 |
| - | |
| 773 | + | |
774 | 774 |
| |
775 | 775 |
| |
776 |
| - | |
| 776 | + | |
777 | 777 |
| |
778 | 778 |
| |
779 | 779 |
| |
780 |
| - | |
| 780 | + | |
781 | 781 |
| |
782 | 782 |
| |
783 |
| - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
784 | 791 |
| |
785 | 792 |
| |
786 | 793 |
| |
|
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/README.md
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/README.md+17-7Lines changed: 17 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
17 | 29 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 30 | + | |
21 | 31 |
| |
22 | 32 |
| |
23 | 33 |
| |
| |||
30 | 40 |
| |
31 | 41 |
| |
32 | 42 |
| |
33 |
| - | |
| 43 | + | |
34 | 44 |
| |
35 | 45 |
| |
36 | 46 |
| |
| |||
42 | 52 |
| |
43 | 53 |
| |
44 | 54 |
| |
45 |
| - | |
| 55 | + | |
46 | 56 |
| |
47 | 57 |
| |
48 | 58 |
| |
| |||
51 | 61 |
| |
52 | 62 |
| |
53 | 63 |
| |
54 |
| - | |
| 64 | + | |
55 | 65 |
| |
56 | 66 |
|
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/main.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
| 75 | + | |
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
|
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/requirements.txt
Copy file name to clipboard+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 | 1 |
| |
4 | 2 |
| |
5 | 3 |
| |
| |||
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + |
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/run_quant.sh
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/run_quant.sh+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
|
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/weight_only/README.md
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/weight_only/README.md+19-5Lines changed: 19 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 |
| |
20 |
| - | |
| 32 | + | |
21 | 33 |
| |
22 | 34 |
| |
23 | 35 |
| |
24 | 36 |
| |
25 | 37 |
| |
26 | 38 |
| |
| 39 | + | |
| 40 | + | |
27 | 41 |
| |
28 | 42 |
| |
29 | 43 |
| |
30 | 44 |
| |
31 | 45 |
| |
32 |
| - | |
33 |
| - | |
| 46 | + | |
| 47 | + | |
34 | 48 |
| |
35 | 49 |
| |
36 | 50 |
| |
37 | 51 |
| |
38 | 52 |
| |
39 | 53 |
| |
40 | 54 |
| |
41 |
| - | |
| 55 | + | |
42 | 56 |
| |
43 | 57 |
|
You can’t perform that action at this time.
0 commit comments