[Bugfix] GPT OSS Attritbute error on H100 (#25228)

Signed-off-by: Varun Sundar Rabindranath <vsundarr@redhat.com>
Co-authored-by: Varun Sundar Rabindranath <vsundarr@redhat.com>
This commit is contained in:
Varun Sundar Rabindranath
2025-09-19 13:14:09 -06:00
committed by GitHub
co-authored by Varun Sundar Rabindranath
parent a2a5f79e09
commit 7852b82b93
2 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
from dataclasses import dataclass
from typing import TYPE_CHECKING, Optional, Union
from typing import Optional, Union
import torch
@@ -14,7 +14,7 @@ from vllm.model_executor.layers.quantization.utils.quant_utils import (
from vllm.utils import cdiv, has_triton_kernels
from vllm.utils.flashinfer import has_flashinfer_cutlass_fused_moe
if TYPE_CHECKING and has_triton_kernels:
if has_triton_kernels():
from triton_kernels.matmul_ogs import PrecisionConfig
logger = init_logger(__name__)