-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable torchao quantization in framework and group_bench (#2116)
Summary: Support torchao quantization code in the framework. Add a new config `torch_ao.yaml` in the group_bench userbenchmark. Differential Revision: D52802534
- Loading branch information
1 parent
c1148b9
commit 0fecc19
Showing
6 changed files
with
95 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
model: "*" | ||
test: eval | ||
device: cuda | ||
extra_args: --precision bf16 --torchdynamo inductor --inductor-compile-mode max-autotune | ||
metrics: | ||
- latencies | ||
test_group: | ||
test_batch_size_default: | ||
subgroup: | ||
- extra_args: | ||
- extra_args: --quantization int8dynamic | ||
- extra_args: --quantization int8weightonly | ||
- extra_args: --quantization int4weightonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters