Skip to content

chore: upgrade sgl-kernel v0.1.3 - #6377

Merged
zhyncs merged 1 commit into
mainfrom
zhyncs/upg
May 18, 2025
Merged

zhyncs merged 1 commit into
mainfrom
zhyncs/upg

Conversation

@zhyncs

@zhyncs zhyncs commented May 17, 2025

Copy link
Copy Markdown
Contributor

Motivation

Modifications

Checklist

@zhyncs
zhyncs requested a review from zhaochenyang20 as a code owner May 17, 2025 23:32
@zhyncs
zhyncs merged commit f07c6a0 into main May 18, 2025
@zhyncs
zhyncs deleted the zhyncs/upg branch May 18, 2025 02:47
Layssy pushed a commit to Layssy/sglang-iaas that referenced this pull request Jun 9, 2025
xwu-intel pushed a commit to xwu-intel/sglang that referenced this pull request Jun 17, 2025
0826joyce pushed a commit to 0826joyce/sglang-perf-opt that referenced this pull request May 19, 2026
Duyi-Wang added a commit to Duyi-Wang/sglang that referenced this pull request Oct 12, 2026
… until aiter ships it

The official aiter pin (ROCm/aiter main 02575f1c3a) has no FlyDSL v4 nm decode,
so sgl-project#41383's fp8 unified_kv decode/verify fell back to the asm kernel. Carry
ROCm/aiter#5882 at its sgl-project#6377-adapted head 03359c43df in-tree:

- python/sglang/kernels/ops/attention/dsv4/flydsl_v4nm/: mla_v4_decode.py,
  mla_v4_grouped.py, kernels/mla_v4_decode_{common,gfx950}.py copied from the
  PR (license header kept, source PR / commit / file noted); only the import
  paths changed (helpers come from aiter's public FlyDSL utils:
  communication_ops_utils, buffer_ops, kernels_common, tensor_shim) plus
  isort / ruff format. Importing it on an aiter before sgl-project#6377 raises ImportError.
- runtime._flydsl_v4_decode(): aiter.ops.flydsl when the installed aiter has
  the API, else the in-tree copy; logs which one once per process.
  SGLANG_DSV4_FLYDSL_DECODE_SOURCE=auto|aiter|intree (default auto) forces one
  copy; SGLANG_DSV4_FLYDSL_DECODE=0 still turns FlyDSL off (asm).
  SGLANG_DSV4_FLYDSL_DECODE_H128 gating is unchanged.
- test/registered/kernels/ops/attention/dsv4/test_flydsl_v4nm_decode.py: the
  PR's op_test ported to pytest, trimmed to the DSv4 shapes (H16/32/64/128
  msq1, H16 msq4, fused wo_a epilogue, grouped verify at 4/7 drafts), plus the
  source-selection contract.
- Kernel inventory entries for the two entry points; codespell skips the
  vendored directory (helper name `padd`).

Every piece carries TODO(aiter#5882): remove once ROCm/aiter#5882 is in the
aiter pin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant