CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 19:34:06 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/"5120144e01a86255e77dab22e71c4a7a"
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=QT9L03s3KXmLNyN75V%2F17frs6Qh47VxQ40qIO6tWpwNUBMmB%2FECoPh65PhCmj%2F3VE1mp8TyOeFLHIrYdwVHxYJQXZG1984AOYUm4l9EYDvwhOaHfj77b1v%2FVn6unisecITFcTAshc05qpneKmXFrTa5EFXZajJ0NLlQ6q2nD7A5Bi0%2B9%2FOBiIa2FMlCOrh0ibiMJcRgQMSbtN3FSlLq1tKTrGdss9CF3wbMcQsEaeh5LQK4hTjOR6Ry1LLUznjIiF%2FbtbTy%2FN929qcb8KWzamw%3D%3D--Zk%2FuMWxVS%2BdjiJJp--bdJ4UxRP1kB49hVGPlPY%2Bw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.511459307.1753385645; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:34:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:34:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A3C0:FF4B1:AC69:E1FC:68828AAD
implement `incbench` command for ease-of-use benchmark (#1884) · intel/neural-compressor@2fc7255 · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_benchmark.sh
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_clm_no_trainer.py
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/dlrm_s_pytorch.py
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/run_benchmark.sh
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 2fc7255
implement
# Description
implement incbench command as entrypoint for ease-of-use benchmark
automatically check numa/socket info and dump it with table for ease-of-understand
supports both Linux and Windows platform
add benchmark documents
dump benchmark summary
add benchmark UTs
# General Use Cases
incbench main.py: run 1 instance on NUMA:0.
incbench --num_i 2 main.py: run 2 instances on NUMA:0.
incbench --num_c 2 main.py: run multi-instances with 2 cores per instance on NUMA:0.
incbench -C 24-47 main.py: run 1 instance on COREs:24-47.
incbench -C 24-47 --num_c 4 main.py: run multi-instances with 4 COREs per instance on COREs:24-47.
---------
Signed-off-by: xin3he <xin3.he@intel.com>
Co-authored-by: chen, suyue <suyue.chen@intel.com>incbench
command for ease-of-use benchmark (#1884)1 parent de8577e commit 2fc7255Copy full SHA for 2fc7255
File tree
Expand file treeCollapse file tree
17 files changed
+914
-238
lines changedFilter options
- docs/3x
- examples/3.x_api/pytorch
- nlp/huggingface_models/language-modeling/quantization/smooth_quant
- recommendation/dlrm/static_quant/ipex
- neural_compressor
- common
- utils
- tensorflow/utils
- torch
- algorithms/static_quant
- utils
- neural_insights/components/model
- onnxrt
- tensorflow
- test/3x/common
Expand file treeCollapse file tree
17 files changed
+914
-238
lines changeddocs/3x/benchmark.md
Copy file name to clipboard+61Lines changed: 61 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + |
examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_benchmark.sh
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_benchmark.sh+22-10Lines changed: 22 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
| 78 | + | |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
94 | 106 |
| |
95 | 107 |
| |
96 | 108 |
|
examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_clm_no_trainer.py
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/smooth_quant/run_clm_no_trainer.py+46-51Lines changed: 46 additions & 51 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
16 |
| - | |
| 18 | + | |
17 | 19 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 | 20 |
| |
25 | 21 |
| |
26 | 22 |
| |
| |||
29 | 25 |
| |
30 | 26 |
| |
31 | 27 |
| |
| 28 | + | |
32 | 29 |
| |
33 |
| - | |
34 |
| - | |
| 30 | + | |
35 | 31 |
| |
36 |
| - | |
37 |
| - | |
38 | 32 |
| |
39 | 33 |
| |
40 | 34 |
| |
41 | 35 |
| |
42 | 36 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
55 | 48 |
| |
56 | 49 |
| |
57 | 50 |
| |
| |||
91 | 84 |
| |
92 | 85 |
| |
93 | 86 |
| |
94 |
| - | |
| 87 | + | |
95 | 88 |
| |
96 | 89 |
| |
97 | 90 |
| |
| |||
144 | 137 |
| |
145 | 138 |
| |
146 | 139 |
| |
| 140 | + | |
147 | 141 |
| |
148 | 142 |
| |
149 | 143 |
| |
| |||
158 | 152 |
| |
159 | 153 |
| |
160 | 154 |
| |
161 |
| - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
162 | 158 |
| |
163 | 159 |
| |
164 | 160 |
| |
| |||
167 | 163 |
| |
168 | 164 |
| |
169 | 165 |
| |
| 166 | + | |
170 | 167 |
| |
171 | 168 |
| |
172 | 169 |
| |
| |||
176 | 173 |
| |
177 | 174 |
| |
178 | 175 |
| |
| 176 | + | |
179 | 177 |
| |
180 | 178 |
| |
181 | 179 |
| |
| |||
186 | 184 |
| |
187 | 185 |
| |
188 | 186 |
| |
189 |
| - | |
| 187 | + | |
190 | 188 |
| |
191 | 189 |
| |
192 | 190 |
| |
193 | 191 |
| |
194 | 192 |
| |
195 | 193 |
| |
| 194 | + | |
196 | 195 |
| |
197 | 196 |
| |
198 | 197 |
| |
| 198 | + | |
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
| 210 | + | |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
| |||
218 | 219 |
| |
219 | 220 |
| |
220 | 221 |
| |
| 222 | + | |
221 | 223 |
| |
222 | 224 |
| |
223 | 225 |
| |
| |||
233 | 235 |
| |
234 | 236 |
| |
235 | 237 |
| |
236 |
| - | |
| 238 | + | |
237 | 239 |
| |
238 | 240 |
| |
239 | 241 |
| |
240 |
| - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
241 | 246 |
| |
242 | 247 |
| |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + |
examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/dlrm_s_pytorch.py
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/dlrm_s_pytorch.py+22-8Lines changed: 22 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
394 | 394 |
| |
395 | 395 |
| |
396 | 396 |
| |
397 |
| - | |
| 397 | + | |
398 | 398 |
| |
399 | 399 |
| |
400 | 400 |
| |
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
465 |
| - | |
| 465 | + | |
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
| |||
833 | 833 |
| |
834 | 834 |
| |
835 | 835 |
| |
836 |
| - | |
| 836 | + | |
837 | 837 |
| |
838 |
| - | |
| 838 | + | |
839 | 839 |
| |
840 |
| - | |
| 840 | + | |
841 | 841 |
| |
842 | 842 |
| |
843 | 843 |
| |
| |||
857 | 857 |
| |
858 | 858 |
| |
859 | 859 |
| |
860 |
| - | |
861 |
| - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
862 | 876 |
| |
863 | 877 |
| |
864 | 878 |
| |
| |||
934 | 948 |
| |
935 | 949 |
| |
936 | 950 |
| |
937 |
| - | |
| 951 | + | |
938 | 952 |
| |
939 | 953 |
| |
940 | 954 |
| |
|
examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/run_benchmark.sh
Copy file name to clipboardExpand all lines: examples/3.x_api/pytorch/recommendation/dlrm/static_quant/ipex/run_benchmark.sh+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
|
You can’t perform that action at this time.
0 commit comments