Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions python/sglang/srt/layers/moe/token_dispatcher/deepep.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,15 @@ def set_deepep_dispatcher_dtype(self) -> None:
self.use_mxfp8 = config["use_mxfp8"]
self.use_nvfp4 = config["use_nvfp4"]

if _is_npu and self.deepep_output_dtype == DispatcherOutputDtype.INT8:
from sglang.srt.hardware_backend.npu.utils import is_npu_arch35

if is_npu_arch35():
# DeepEP interprets use_fp8=True as FP8 on A5, not INT8.
# Allow the normal-mode INT8 env fallback, or dispatch BF16
# and let the existing MoE kernel quantize it to INT8.
self.use_fp8 = False

# Handle environment variables
if _is_npu:
self._update_int8_quant_env()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@
)
from sglang.utils import wait_for_server

register_npu_ci(est_time=400, suite="nightly-2-npu-a3", nightly=True)
register_npu_ci(est_time=400, suite="base-b-test-2-npu-a3")
register_npu_ci(
est_time=400,
suite="nightly-2-npu-a3",
nightly=True,
disabled="Disabled in CI; retained for manual execution.",
)
register_npu_ci(
est_time=400,
suite="base-b-test-2-npu-a3",
disabled="Disabled in CI; retained for manual execution.",
)


# Keep the first 6 layers of the BF16 checkpoint. The first 6 V4-Flash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@
popen_launch_server,
)

register_npu_ci(est_time=400, suite="nightly-2-npu-a3", nightly=True)
register_npu_ci(est_time=400, suite="base-b-test-2-npu-a3")
register_npu_ci(
est_time=400,
suite="nightly-2-npu-a3",
nightly=True,
disabled="Disabled in CI; retained for manual execution.",
)
register_npu_ci(
est_time=400,
suite="base-b-test-2-npu-a3",
disabled="Disabled in CI; retained for manual execution.",
)


NUM_INDEXER_LAYERS = 6
Expand Down
Loading