refactor: Move scalar_types.py to sgl-kernel to avoid circular import (#8720)
This commit is contained in:
@@ -5,7 +5,7 @@ import torch
|
||||
|
||||
|
||||
def get_scalar_type(num_bits: int, has_zp: bool):
|
||||
from sglang.srt.layers.quantization.scalar_type import scalar_types
|
||||
from sgl_kernel.scalar_type import scalar_types
|
||||
|
||||
if has_zp:
|
||||
assert num_bits == 4
|
||||
|
||||
Reference in New Issue
Block a user