(use_int4_weights=False, per_group=False)
| 354 | |
| 355 | @staticmethod |
| 356 | def use_weight_only(use_int4_weights=False, per_group=False): |
| 357 | return QuantMode.from_description(quantize_weights=True, |
| 358 | quantize_activations=False, |
| 359 | per_token=False, |
| 360 | per_channel=False, |
| 361 | per_group=per_group, |
| 362 | use_int4_weights=use_int4_weights) |
| 363 | |
| 364 | @staticmethod |
| 365 | def from_quant_algo( |