CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 15:39:56 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/"21611cadbd64c119394d8ab4b9223294"
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=HFg4lWIYus%2FZ6VN7MsheeV0mS0W9SzyRWlTdrOssCJ8IytzoBAMvPmOwlWpp7fyHs68EG4Y7i4aEMhSId8NiGkccaHYJOxrE%2FZHGXospMBShH5eIENA4XvFl%2FTSzoGVzQZLkilEtD72jdEYELSCBIewucOZNLGqLLKdSIHDxB3YJWEjLQToZNrrmHSe7lmcaC2n2OpfhrqV82Xv69RvGSQaB%2BD46sUcII7%2BipKtGIgW08Oji30M6rVr7tcOl0vfhd7AIUvWTFWABDDX48QlYXQ%3D%3D--0Wbj2xAyO29Sq%2Ftg--ZAe6EoKUDSeUTmidYyoiVQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2009529461.1753285196; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:39:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:39:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A07C:3B93B0:E208DC:10B088A:6881024C
Update example scripts for ONNXRT DML EP (#1455) · intel/neural-compressor@098401d · GitHub
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/onnx_model_zoo/shufflenet/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/onnx_model_zoo/vgg16/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/resnet50_torchvision/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/bert/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_classification/quantization/ptq_dynamic/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/object_detection/ssd_mobilenet_v1/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/benchmark.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 098401d
File tree
Expand file treeCollapse file tree
8 files changed
+96
-35
lines changedFilter options
- examples/onnxrt
- image_recognition
- onnx_model_zoo
- shufflenet/quantization/ptq_static
- vgg16/quantization/ptq_static
- resnet50_torchvision/quantization/ptq_static
- nlp
- bert/quantization/ptq_static
- huggingface_model/text_classification/quantization/ptq_dynamic
- object_detection/ssd_mobilenet_v1/quantization/ptq_static
- neural_compressor
- adaptor
Expand file treeCollapse file tree
8 files changed
+96
-35
lines changedexamples/onnxrt/image_recognition/onnx_model_zoo/shufflenet/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/onnx_model_zoo/shufflenet/quantization/ptq_static/main.py+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
267 |
| - | |
| 267 | + | |
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
292 |
| - | |
293 |
| - | |
294 |
| - | |
| 292 | + | |
295 | 293 |
|
examples/onnxrt/image_recognition/onnx_model_zoo/vgg16/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/onnx_model_zoo/vgg16/quantization/ptq_static/main.py+21-7Lines changed: 21 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
| 194 | + | |
| 195 | + | |
195 | 196 |
| |
196 | 197 |
| |
197 | 198 |
| |
| |||
252 | 253 |
| |
253 | 254 |
| |
254 | 255 |
| |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
255 | 262 |
| |
| 263 | + | |
256 | 264 |
| |
257 | 265 |
| |
258 | 266 |
| |
259 | 267 |
| |
| 268 | + | |
260 | 269 |
| |
261 | 270 |
| |
262 | 271 |
| |
263 | 272 |
| |
264 | 273 |
| |
265 | 274 |
| |
266 | 275 |
| |
267 |
| - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
268 | 282 |
| |
269 | 283 |
| |
270 | 284 |
| |
271 | 285 |
| |
272 | 286 |
| |
273 | 287 |
| |
274 | 288 |
| |
275 |
| - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
276 | 292 |
| |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
| 293 | + | |
| 294 | + |
examples/onnxrt/image_recognition/resnet50_torchvision/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/image_recognition/resnet50_torchvision/quantization/ptq_static/main.py+17-4Lines changed: 17 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| 118 | + | |
118 | 119 |
| |
119 | 120 |
| |
120 | 121 |
| |
| |||
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
| 210 | + | |
209 | 211 |
| |
210 | 212 |
| |
211 |
| - | |
| 213 | + | |
| 214 | + | |
212 | 215 |
| |
213 | 216 |
| |
214 | 217 |
| |
215 | 218 |
| |
216 | 219 |
| |
217 | 220 |
| |
| 221 | + | |
218 | 222 |
| |
219 | 223 |
| |
220 | 224 |
| |
| |||
275 | 279 |
| |
276 | 280 |
| |
277 | 281 |
| |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
278 | 288 |
| |
| 289 | + | |
279 | 290 |
| |
280 | 291 |
| |
281 | 292 |
| |
| |||
297 | 308 |
| |
298 | 309 |
| |
299 | 310 |
| |
| 311 | + | |
| 312 | + | |
300 | 313 |
| |
301 | 314 |
| |
302 | 315 |
| |
| |||
308 | 321 |
| |
309 | 322 |
| |
310 | 323 |
| |
| 324 | + | |
| 325 | + | |
311 | 326 |
| |
312 | 327 |
| |
313 |
| - | |
314 |
| - | |
315 |
| - | |
| 328 | + | |
316 | 329 |
|
examples/onnxrt/nlp/bert/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/bert/quantization/ptq_static/main.py+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
353 | 359 |
| |
354 | 360 |
| |
| 361 | + | |
| 362 | + | |
| 363 | + | |
355 | 364 |
| |
356 | 365 |
| |
357 | 366 |
| |
| |||
364 | 373 |
| |
365 | 374 |
| |
366 | 375 |
| |
367 |
| - | |
368 |
| - | |
| 376 | + | |
| 377 | + | |
369 | 378 |
| |
370 | 379 |
| |
371 | 380 |
| |
| |||
388 | 397 |
| |
389 | 398 |
| |
390 | 399 |
| |
| 400 | + | |
| 401 | + | |
391 | 402 |
| |
392 | 403 |
| |
393 | 404 |
| |
| |||
425 | 436 |
| |
426 | 437 |
| |
427 | 438 |
| |
| 439 | + | |
| 440 | + | |
428 | 441 |
| |
429 | 442 |
| |
430 | 443 |
| |
|
examples/onnxrt/nlp/huggingface_model/text_classification/quantization/ptq_dynamic/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/nlp/huggingface_model/text_classification/quantization/ptq_dynamic/main.py+14-3Lines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
343 | 349 |
| |
344 | 350 |
| |
| 351 | + | |
345 | 352 |
| |
346 | 353 |
| |
347 | 354 |
| |
| |||
352 | 359 |
| |
353 | 360 |
| |
354 | 361 |
| |
355 |
| - | |
356 |
| - | |
| 362 | + | |
| 363 | + | |
357 | 364 |
| |
358 | 365 |
| |
359 | 366 |
| |
| |||
374 | 381 |
| |
375 | 382 |
| |
376 | 383 |
| |
377 |
| - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
378 | 387 |
| |
379 | 388 |
| |
380 | 389 |
| |
| |||
413 | 422 |
| |
414 | 423 |
| |
415 | 424 |
| |
| 425 | + | |
| 426 | + | |
416 | 427 |
| |
417 | 428 |
| |
418 | 429 |
| |
|
examples/onnxrt/object_detection/ssd_mobilenet_v1/quantization/ptq_static/main.py
Copy file name to clipboardExpand all lines: examples/onnxrt/object_detection/ssd_mobilenet_v1/quantization/ptq_static/main.py+17-6Lines changed: 17 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 |
| |
| 99 | + | |
93 | 100 |
| |
94 | 101 |
| |
95 | 102 |
| |
| |||
106 | 113 |
| |
107 | 114 |
| |
108 | 115 |
| |
109 |
| - | |
110 |
| - | |
| 116 | + | |
| 117 | + | |
111 | 118 |
| |
112 | 119 |
| |
113 | 120 |
| |
| |||
143 | 150 |
| |
144 | 151 |
| |
145 | 152 |
| |
| 153 | + | |
| 154 | + | |
146 | 155 |
| |
147 | 156 |
| |
148 | 157 |
| |
| |||
161 | 170 |
| |
162 | 171 |
| |
163 | 172 |
| |
| 173 | + | |
| 174 | + | |
164 | 175 |
| |
165 | 176 |
| |
166 |
| - | |
| 177 | + |
neural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py+9-8Lines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1315 | 1315 |
| |
1316 | 1316 |
| |
1317 | 1317 |
| |
1318 |
| - | |
1319 |
| - | |
1320 |
| - | |
1321 |
| - | |
1322 |
| - | |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1326 | 1327 |
| |
1327 | 1328 |
| |
1328 | 1329 |
| |
|
neural_compressor/benchmark.py
Copy file name to clipboardExpand all lines: neural_compressor/benchmark.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
513 | 513 |
| |
514 | 514 |
| |
515 | 515 |
| |
516 |
| - | |
| 516 | + | |
517 | 517 |
| |
518 | 518 |
| |
519 | 519 |
| |
|
You can’t perform that action at this time.
0 commit comments