-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micro-benchmark inference #1759
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1759
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 22b3ddd with merge base bc4f51d ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
0fc7212
to
24bea42
Compare
e9c3a10
to
a750f7c
Compare
a750f7c
to
a828f5b
Compare
9ad0123
to
7a436db
Compare
7a436db
to
58c7261
Compare
58c7261
to
8f8a6ff
Compare
87e16ca
to
58d897e
Compare
58d897e
to
cfe2688
Compare
[4096, 4096, 1024] | ||
] | ||
high_precision_dtype: "torch.bfloat16" | ||
compile: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I tend to prefer to consolidate multiple variables into 1, like compile vs compile_mode is kind of redundant when you could just have
compile: "max-autotune" or compile: "false"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
6cfd1db
to
22b3ddd
Compare
This is the first PR, in the benchmarking effort. It provides the outline to setup inference microbenchmarking for quant api's in torchao.
The different inputs like quantization techniques, matrix sizes, compile, sparsity etc, will be given as input to the python script. The options are re-defined in the scipt for quantization techniques, and a developer can add new quant technique. The script will generate a csv with performance numbers, and that'll be used to plot charts and as an input to dashboard . The script performs the following tasks:
Future PRs will include more config options and process the generated results.
Run command:
Output will be stored in