Skip to content

Commit f9d3ac9

Browse files
committed
update example
Signed-off-by: Kaihui-intel <[email protected]>
1 parent 2d76c7f commit f9d3ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/3x/PT_WeightOnlyQuant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ quant_config.set_local("lm_head", lm_head_config)
298298
# "W8A16"
299299
# }
300300
# }
301+
# Use the AutoRound specific 'layer_config' instead of the 'set_local' API.
301302
layer_config = {"lm_head": {"data_type": "int"}}
302303
quant_config = AutoRoundConfig(layer_config=layer_config)
303-
quant_config.set_local("lm_head", lm_head_config)
304304
```
305305

306306
### Saving and Loading

0 commit comments

Comments
 (0)