We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b006f2 commit 2285fbaCopy full SHA for 2285fba
modelopt/torch/quantization/mode.py
@@ -253,8 +253,6 @@ def wrapped_calib_func(
253
else:
254
# Direct calibration (existing behavior)
255
func(model, forward_loop=forward_loop, **kwargs)
256
- else:
257
- raise ValueError(f"No calibration function provided for method: {method}")
258
259
# Lets get the latest metadata for the quantizer states
260
metadata = {}
0 commit comments