-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gemma specific fp8 quantization file (#1445)
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
examples/text-generation/quantization_config/maxabs_quant_gemma.json
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,12 @@ | ||
{ | ||
"method": "HOOKS", | ||
"mode": "QUANTIZE", | ||
"observer": "maxabs", | ||
"scale_method": "maxabs_hw", | ||
"blocklist": {"types": [], "names": [ | ||
"matmul_qk", | ||
"matmul_av", | ||
"lm_head" | ||
]}, | ||
"dump_stats_path": "./hqt_output/measure" | ||
} |