PSHuman / mvdiffusion

Commit History

  1. Implement attention slicing: chunk SDPA calls along the batch*heads dim since torch 2.8s fused kernels reject this shape on this GPU, forcing an O(seq_len^2 * batch) math fallback that OOMs even a 96GB card

    Verified signature
    63d710a
  2. Diagnose why SDPA auto-select avoids flash/efficient backends: try FLASH_ATTENTION explicitly and log the actual error, plus dtype/contiguity/mask info

    Verified signature
    4df1266
  3. Add memory diagnostics at each attention call to see if VRAM usage is growing unbounded or just spiking once

    Verified signature
    4ba1e6a
  4. Revert forced EFFICIENT_ATTENTION backend (unsupported for these tensor shapes on this GPU); back to auto-selected SDPA

    Verified signature
    42c2660
  5. Force SDPA's memory-efficient backend for PSHuman's multiview attention: rule out a math-fallback OOM on Blackwell

    Verified signature
    ff5e65e

  1. Keep PSHuman's custom multiview attention processors but swap their inner xformers.ops.memory_efficient_attention call for torch's native scaled_dot_product_attention (xformers' Hopper kernel crashes on Blackwell/sm_120)

    Verified signature
    2080275

  1. Migrated from GitHub

    Verified signature
    2252f3d