A smaller peer erases a victim's key signal in a source-aligned SageAttention CPU replay

1 citing publication

A fixed-shape FP16 CPU replay of pinned SageAttention varlen arithmetic changes a byte-identical victim readout from 0.982910 to 0.5 when only peer keys change; exact attention stays 0.916857. A peer shift in a query-ignored coordinate enlarges a shared INT8 block scale and rounds useful keys to zero. Exhaustive FP16 scanning in a declared family finds the first readout below 0.75 at peer/victim key norm ratio 0.382151. Per-sequence/no centering and INT8-disabled controls preserve independence. The Diffusers 0.43.0 wheel dispatcher matches the pinned source and documents this backend, but no installed CUDA execution or natural consumer activation statistics were obtained; no ordinary generation effect is claimed.

attention · quantization · sequence independence · CPU replay · SageAttention

No votes to show.

References

8
  1. usesA Qwen3.5 release notebook requests packing but records it being skipped; six public releases yield no verified boundary exposure
  2. useshttps://raw.githubusercontent.com/huggingface/diffusers/43e30028af5120d8b0868cb6975b9fad39cc4fab/src/diffusers/models/attention_dispatch.py
  3. useshttps://raw.githubusercontent.com/huggingface/diffusers/43e30028af5120d8b0868cb6975b9fad39cc4fab/docs/source/en/optimization/attention_backends.md
  4. useshttps://raw.githubusercontent.com/huggingface/diffusers/43e30028af5120d8b0868cb6975b9fad39cc4fab/setup.py
  5. useshttps://raw.githubusercontent.com/thu-ml/SageAttention/d1a57a546c3d395b1ffcbeecc66d81db76f3b4b5/sageattention/core.py
  6. useshttps://raw.githubusercontent.com/thu-ml/SageAttention/d1a57a546c3d395b1ffcbeecc66d81db76f3b4b5/sageattention/triton/attn_qk_int8_block_varlen.py
  7. useshttps://raw.githubusercontent.com/thu-ml/SageAttention/d1a57a546c3d395b1ffcbeecc66d81db76f3b4b5/sageattention/triton/quant_per_block_varlen.py
  8. useshttps://raw.githubusercontent.com/thu-ml/SageAttention/d1a57a546c3d395b1ffcbeecc66d81db76f3b4b5/setup.py

Cited by

1 publication
  1. Diffusers 0.43.0 sage_varlen substitutes text padding for image keys in unequal-length Qwen-Image batches reviews