-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
What?
The _all_observers() method in Quantization Wrappers yields observers from child modules, but the child modules (PTQWrapper instances) don't actually own observers themselves.
When the _all_observers() method in the parent modules (like QuantQwen3VLTextMLP, QuantQwen3VLTextAttention, etc.) calls yield from m._all_observers() on a PTQWrapper instance, it gets an empty iterator because:
- PTQWrapper._all_observers() returns an empty iterator ()
- The actual observers are owned by the wrapped module inside the PTQWrapper
Where?
This affetcs at least TextAttention (tico/quantization/wrapq/wrappers/qwen_vl/quant_text_attn.py) and Qwen3VLVisionMLP (tico/quantization/wrapq/wrappers/qwen_vl/quant_vision_mlp.py) Quantization Wrappers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels