Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b4003d11
Unverified
Commit
b4003d11
authored
May 01, 2025
by
Michael Goin
Committed by
GitHub
May 02, 2025
Browse files
Check if bitblas is installed during support check (#17572)
Signed-off-by:
mgoin
<
mgoin64@gmail.com
>
parent
292fc59d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vllm/model_executor/layers/quantization/utils/bitblas_utils.py
...model_executor/layers/quantization/utils/bitblas_utils.py
+9
-0
No files found.
vllm/model_executor/layers/quantization/utils/bitblas_utils.py
View file @
b4003d11
...
...
@@ -71,6 +71,15 @@ def _check_bitblas_supported(
f
"Only group_sizes =
{
BITBLAS_SUPPORTED_GROUP_SIZES
}
"
"are supported."
)
# Finally, check if bitblas is installed
try
:
import
bitblas
if
bitblas
.
__version__
<
MINIMUM_BITBLAS_VERSION
:
raise
ImportError
(
"bitblas version is wrong. Please "
f
"install bitblas>=
{
MINIMUM_BITBLAS_VERSION
}
"
)
except
ImportError
:
return
False
,
"BitBLAS is not installed."
return
True
,
None
...
...
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