Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modelopt/torch/quantization/model_calib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ def postprocess(module, name):
original_device = weight.device
original_dtype = weight.dtype
weight_f64 = weight.to(dtype=torch.float64, device=original_device)
u, s, vt = torch.linalg.svd(weight_f64, full_matrices=False)
u, s, vt = torch.linalg.svd(weight_f64, driver="gesvd", full_matrices=False)
if u.shape[1] < lowrank or vt.shape[0] < lowrank:
warnings.warn(
"The low-rank dimensions do not match the layer dimensions. "
Expand Down