fix(kt-kernel): cap compressed-tensors below the torch>=2.10 releases (#2116)

Signed-off-by: Anai-Guo <antai12232931@outlook.com>
This commit is contained in:
Tai An
2026-09-22 22:07:33 -07:00
committed by GitHub
parent f7607c0f66
commit c40722bf04
+5 -1
View File
@@ -44,7 +44,11 @@ sglang = [
"sglang-kt",
]
convert = [
"compressed-tensors>=0.7.0",
# compressed-tensors 0.16.0 moved its offload stack onto torch.accelerator
# and requires torch>=2.10.0, but this package pins torch==2.9.1. Installing
# the newer release against that torch makes convert_gpu_weights.py fail with
# "module 'torch.accelerator' has no attribute 'get_memory_info'".
"compressed-tensors>=0.7.0,<0.16.0",
]
test = [
"pytest>=7.0.0",