You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update cli.py to make --device/--dtype pre-empt quantize dict-specified values (pytorch#1359)
* Update cli.py to make --device/--dtype pre-empt quantize dict-specified values
Users may expect that cli parameters override the JSON, as per pytorch#1278.
Invert logic - case split:
1 - if none (no value) is specified, use value specified in quantize dict, if present; else
2 - if value is specified, override the respective handler if present.
* Fix typo in cli.py
fix typo
---------
Co-authored-by: Jack-Khuu <[email protected]>
0 commit comments