Skip to content

[WIP] feat: fused moe v2 kernel #3578

[WIP] feat: fused moe v2 kernel

[WIP] feat: fused moe v2 kernel #3578

Triggered via pull request May 14, 2026 13:33
Status Failure
Total duration 1m 7s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint
Process completed with exit code 1.
Ruff (SIM108): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L1102
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:1102:9: SIM108 Use ternary operator `bf_test = 128 if f % bf_arg != 0 else bf_arg` instead of `if`-`else`-block
Ruff (F841): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L1058
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:1058:5: F841 Local variable `num_experts` is assigned to but never used
Ruff (B023): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L375
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:375:54: B023 Function definition does not bind loop variable `recv_id`
Ruff (B023): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L372
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:372:64: B023 Function definition does not bind loop variable `dest_pos`
Ruff (B023): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L364
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:364:64: B023 Function definition does not bind loop variable `dest_pos`
Ruff (B023): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L356
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:356:71: B023 Function definition does not bind loop variable `offset`
Ruff (B023): python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py#L356
python/sgl_jax/srt/kernels/fused_moe/v2/kernel.py:356:58: B023 Function definition does not bind loop variable `e_id_safe`
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/