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
zhaoyu6
sglang
Commits
e465b08d
"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "585eababa1ffbd68ad364681aff4ca1b7b2b1824"
Unverified
Commit
e465b08d
authored
Apr 18, 2025
by
liwenju0
Committed by
GitHub
Apr 18, 2025
Browse files
fix bug of VLLM_AVAILABLE not defined (#5497)
parent
bed05878
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
python/sglang/srt/layers/quantization/compressed_tensors/compressed_tensors.py
...ers/quantization/compressed_tensors/compressed_tensors.py
+7
-0
No files found.
python/sglang/srt/layers/quantization/compressed_tensors/compressed_tensors.py
View file @
e465b08d
...
...
@@ -40,6 +40,13 @@ from sglang.srt.layers.quantization.compressed_tensors.utils import (
should_ignore_layer
,
)
try
:
import
vllm
VLLM_AVAILABLE
=
True
except
ImportError
:
VLLM_AVAILABLE
=
False
logger
=
logging
.
getLogger
(
__name__
)
__all__
=
[
"CompressedTensorsLinearMethod"
]
...
...
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