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
4a676905
Unverified
Commit
4a676905
authored
Jun 16, 2024
by
Michael Goin
Committed by
GitHub
Jun 16, 2024
Browse files
[CI][BugFix] Flip is_quant_method_supported condition (#5577)
parent
f31c1f90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/quantization/utils.py
tests/quantization/utils.py
+1
-1
No files found.
tests/quantization/utils.py
View file @
4a676905
...
...
@@ -10,5 +10,5 @@ def is_quant_method_supported(quant_method: str) -> bool:
capability
=
torch
.
cuda
.
get_device_capability
()
capability
=
capability
[
0
]
*
10
+
capability
[
1
]
return
(
capability
<
return
(
capability
>=
QUANTIZATION_METHODS
[
quant_method
].
get_min_capability
())
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