Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/qualcomm/oss_scripts/llama/eval_llama_qnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def eval_llm(args):
if args.ptq is not None:
quant_dtype = getattr(QuantDtype, f"use_{args.ptq}")
decoder_model_config = SUPPORTED_LLM_MODELS[args.decoder_model]
custom_annotations = decoder_model_config.custom_annotation
custom_annotations = decoder_model_config.quant_recipe().recipe.custom_quant_annotations

quantizer = make_custom_quantizer(
quant_dtype, args.range_setting, custom_annotations, args.quant_linear_only
Expand Down
Loading