refactor: Move scalar_types.py to sgl-kernel to avoid circular import (#8720)

This commit is contained in:
Hongbo Xu
2025-08-08 10:22:16 +08:00
committed by GitHub
parent ed0a3dd54a
commit 39fd178831
3 changed files with 354 additions and 2 deletions

View File

@@ -2,8 +2,8 @@ import numpy as np
import pytest
import torch
from sgl_kernel import awq_marlin_repack
from sgl_kernel.scalar_type import scalar_types
from sglang.srt.layers.quantization.scalar_type import scalar_types
from sglang.srt.layers.quantization.utils import (
get_pack_factor,
pack_cols,