You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prepare_pt2e observes a tensor before an in-place write through a view, so the quantized model ignores its input #5040
prepare_pt2e observes a tensor before it is written in place through a view, so after convert_pt2e the model reads the unfilled tensor and ignores its input. torchvision's GeneralizedRCNNTransform.batch_images does this (new_full + copy_), so quantized torchvision detectors output a constant.
The conv input observer is inserted right after new_zeros, before select/copy_. If the quantizer also annotates select (as ExecuTorch's QNN quantizer does), its observers break the view chain, so the write lands on a dequantized copy.
This one will be resolved from the level of ExecuTorch exports aka pytorch/executorch#24499. Since I don't have write access I cannot transfer this issue to the correct repo. @jerryzh168, could you transfer it to the ExecuTorch repository?
Activity
msluszniak commentedon Nov 3, 2026
This one will be resolved from the level of ExecuTorch exports aka pytorch/executorch#24499. Since I don't have write access I cannot transfer this issue to the correct repo. @jerryzh168, could you transfer it to the ExecuTorch repository?