torch.compile() on quantized model: No attribute "meta" #148072
Labels
needs reproduction
Someone else needs to try reproducing the issue given the instructions. No action needed from user
oncall: cpu inductor
CPU Inductor issues for Intel team to triage
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
During evaluation of a compiled and quanzited model, I obtain the error "no attribute "meta"" in the following line:
pytorch/torch/_inductor/fx_passes/quantization.py
Line 1074 in fd43c36
I propose the following change:
cc @chauhang @penguinwu
Here is an example to reproduce the behavior on a machine with an A100 GPU.
Requirements:
torch, transformers, peft
Output:
The text was updated successfully, but these errors were encountered: