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

This commit is contained in:
Hongbo Xu
2025-08-07 19:22:16 -07:00
committed by GitHub
parent ed0a3dd54a
commit 39fd178831
3 changed files with 354 additions and 2 deletions
+1 -1
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,