Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
fd63b62e
"docs/vscode:/vscode.git/clone" did not exist on "17f36f1b2ecdcfcd42d83c6f5526aff7ac6fb0c4"
Unverified
Commit
fd63b62e
authored
Jul 18, 2025
by
Enrique Shockwave
Committed by
GitHub
Jul 18, 2025
Browse files
fix compressed tensors WNA16 imports (#8142)
parent
719b29f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
python/sglang/srt/layers/quantization/compressed_tensors/compressed_tensors.py
...ers/quantization/compressed_tensors/compressed_tensors.py
+4
-1
No files found.
python/sglang/srt/layers/quantization/compressed_tensors/compressed_tensors.py
View file @
fd63b62e
...
...
@@ -40,7 +40,10 @@ from sglang.srt.layers.quantization.compressed_tensors.utils import (
from
sglang.srt.layers.quantization.unquant
import
UnquantizedLinearMethod
try
:
import
vllm
from
vllm.model_executor.layers.quantization.compressed_tensors.schemes.compressed_tensors_wNa16
import
(
WNA16_SUPPORTED_BITS
,
CompressedTensorsWNA16
,
)
VLLM_AVAILABLE
=
True
except
ImportError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment