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).
This commit is contained in:
2026-10-19 10:37:08 +08:00
parent 51624199b4
commit 6c1c54b514
@@ -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):