From 6c1c54b51429c75bf3fe3667385f69b5dcf5bd8c Mon Sep 17 00:00:00 2001 From: "minke.yu" Date: Mon, 19 Oct 2026 10:37:08 +0800 Subject: [PATCH] fixup: import is_gfx95_supported for #41294 and #40860 ROCm branches dsv41_sparse.py and graph_variants.py referenced is_gfx95_supported without importing it (latent NameError on the ROCm path). --- python/sglang/srt/layers/attention/dsv4/dsv41_sparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/layers/attention/dsv4/dsv41_sparse.py b/python/sglang/srt/layers/attention/dsv4/dsv41_sparse.py index b2347658f5..4925792591 100644 --- a/python/sglang/srt/layers/attention/dsv4/dsv41_sparse.py +++ b/python/sglang/srt/layers/attention/dsv4/dsv41_sparse.py @@ -19,7 +19,7 @@ from sglang.kernels.ops.gemm.bf16_fp32 import linear_bf16_fp32 from sglang.kernels.ops.layernorm.rmsnorm_fp32 import rmsnorm_fp32 from sglang.srt.layers.linear import ReplicatedLinear from sglang.srt.layers.quantization.base_config import QuantizationConfig -from sglang.srt.utils import add_prefix +from sglang.srt.utils import add_prefix, is_gfx95_supported def _rope_fq4(x, freqs, rope_dim, *, compressed_kv=False):