Claude
a7bedb33ee
fix(CRITICAL): patch qwen2_vl vision attention — bypass xops varlen_fwd on BI-V100
...
Previous xformers.py fix only covered our attention backend. The crash
moved to qwen2_vl.py's Qwen2VisionAttention.forward (base image file)
which directly calls xops.memory_efficient_attention_forward during
profiling's _process_image_input → visual() → block.attn().
Fix: monkey-patch Qwen2VisionAttention.forward at import time to use
the same PyTorch F.scaled_dot_product_attention path that qwen2_vl.py
already has for CPU (is_cpu() branch). This is the exact same math,
just without xops dispatch to ixformer's broken varlen_fwd.
Also added try/except fallback in _process_image_input for safety.
2026-08-11 13:09:10 +00:00
..
2026-08-10 04:44:05 +00:00
2026-08-11 03:55:38 +00:00
2026-07-30 16:06:20 +00:00
2026-07-30 16:06:20 +00:00
2026-08-07 07:55:04 +00:00
2026-08-11 09:36:07 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 09:57:30 +00:00
2026-08-11 03:55:38 +00:00
2026-08-05 08:24:43 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 11:45:10 +00:00
2026-08-05 08:24:43 +00:00
2026-08-11 03:55:38 +00:00
2026-08-07 08:56:36 +00:00
2026-08-07 04:37:44 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-07 09:58:35 +00:00
2026-08-11 11:11:10 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-10 01:08:38 +00:00
2026-08-07 02:46:46 +00:00
2026-08-08 11:21:43 +00:00
2026-08-11 07:13:05 +00:00
2026-08-08 08:10:55 +00:00
2026-08-11 13:09:10 +00:00
2026-08-08 07:02:22 +00:00
2026-08-05 08:36:52 +00:00
2026-08-06 02:55:51 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-11 03:55:38 +00:00
2026-08-05 08:36:52 +00:00
2026-08-07 06:36:12 +00:00
2026-08-11 12:18:22 +00:00