Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions flashinfer/aot.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,15 @@ def gen_all_modules(
jit_specs.append(gen_fp4_quantization_sm110_module())
if has_sm120:
jit_specs.append(gen_fp4_quantization_sm120_module())
if has_sm121:
jit_specs.append(gen_fp4_quantization_sm121_module())
if has_sm120 or has_sm121:
# SM120 and SM121 share the same CUTLASS kernels for fused MOE and GEMM.
# The SM120 module generators use supported_major_versions=[12] which
# compiles for all SM12x targets.
jit_specs.append(gen_cutlass_fused_moe_sm120_module())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably better to rename them to sm_12x

jit_specs.append(gen_gemm_sm120_module())
jit_specs.append(gen_gemm_sm120_module_cutlass_fp4())
if has_sm121:
jit_specs.append(gen_fp4_quantization_sm121_module())

if add_comm:
from .jit.comm import (
Expand Down
Loading