Closed lsy323 closed 1 month ago
Before this PR, the config logic in convert_checkpoints.py is broken, only quantized checkpoint can be generated.
convert_checkpoints.py
After the fix:
--quantize_weights
--quantize_type
Before this PR, the config logic in
convert_checkpoints.py
is broken, only quantized checkpoint can be generated.After the fix:
--quantize_weights
to control if checkpoint will be quantized.--quantize_type
to specify the quantization type, only effective when--quantize_weights
is true.