Files
sglang/python/sglang/multimodal_gen/csrc/attn/vmoba_attn
+9 7bc1dae095 WIP: initial multimodal-gen support (#12484)
Co-authored-by: yhyang201 <yhyang201@gmail.com>
Co-authored-by: yizhang2077 <1109276519@qq.com>
Co-authored-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Co-authored-by: ispobock <ispobaoke@gmail.com>
Co-authored-by: JiLi <leege233@gmail.com>
Co-authored-by: CHEN Xi <78632976+RubiaCx@users.noreply.github.com>
Co-authored-by: laixin <xielx@shanghaitech.edu.cn>
Co-authored-by: SolitaryThinker <wlsaidhi@gmail.com>
Co-authored-by: jzhang38 <a1286225768@gmail.com>
Co-authored-by: BrianChen1129 <yongqichcd@gmail.com>
Co-authored-by: Kevin Lin <42618777+kevin314@users.noreply.github.com>
Co-authored-by: Edenzzzz <wtan45@wisc.edu>
Co-authored-by: rlsu9 <r3su@ucsd.edu>
Co-authored-by: Jinzhe Pan <48981407+eigensystem@users.noreply.github.com>
Co-authored-by: foreverpiano <pianoqwz@qq.com>
Co-authored-by: RandNMR73 <notomatthew31@gmail.com>
Co-authored-by: PorridgeSwim <yz3883@columbia.edu>
Co-authored-by: Jiali Chen <90408393+gary-chenjl@users.noreply.github.com>
2025-11-05 12:28:52 -08:00
..

Attention Kernel Used in sgl-diffusion

VMoBA: Mixture-of-Block Attention for Video Diffusion Models (VMoBA)

Installation

Please ensure that you have installed FlashAttention version 2.7.1 or higher, as some interfaces have changed in recent releases.

Usage

You can use moba_attn_varlen in the following ways:

Install from source:

python setup.py install

Import after installation:

from vmoba import moba_attn_varlen

Or import directly from the project root:

from csrc.attn.vmoba_attn.vmoba import moba_attn_varlen

Verify if you have successfully installed

python csrc/attn/vmoba_attn/vmoba/vmoba.py