diffusers
6a65a373 - fix(gguf): correct mismatched-shape error message in check_quantized_param_shape (#13504)

Commit
76 days ago
fix(gguf): correct mismatched-shape error message in check_quantized_param_shape (#13504) fix(gguf): correct mismatched-shape error message check_quantized_param_shape compares inferred_shape against current_param_shape, but the error message printed inferred_shape vs loaded_param_shape — and inferred_shape is derived from loaded_param_shape, so the reported mismatch was effectively self-referential and gave no signal about the model's expected shape. Print current_param_shape (what the model expected) vs inferred_shape (what the quantized weight decodes to) so the two sides of the comparison are actually visible. Noted by @Vargol in #13001.
Author
Parents
Loading