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
d7fbc6dd
Unverified
Commit
d7fbc6dd
authored
Sep 01, 2025
by
Isotr0py
Committed by
GitHub
Sep 01, 2025
Browse files
[Misc] Enable V1 FP16 inference on pre-Ampere GPUs (#24022)
Signed-off-by:
Isotr0py
<
mozf@mail2.sysu.edu.cn
>
parent
5438967f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
vllm/engine/arg_utils.py
vllm/engine/arg_utils.py
+0
-11
No files found.
vllm/engine/arg_utils.py
View file @
d7fbc6dd
...
@@ -1436,17 +1436,6 @@ class EngineArgs:
...
@@ -1436,17 +1436,6 @@ class EngineArgs:
recommend_to_remove
=
True
)
recommend_to_remove
=
True
)
return
False
return
False
# Triton v3.3 has f16 conversion regression issue on Turing and Volta,
# which broke fp16 inference
# see: https://github.com/triton-lang/triton/issues/6698
if
(
current_platform
.
is_cuda
()
and
not
current_platform
.
has_device_capability
(
80
)
and
model_config
.
dtype
==
torch
.
float16
):
_raise_or_fallback
(
feature_name
=
"Compute Capability < 8.0 with FP16"
,
recommend_to_remove
=
False
)
return
False
if
self
.
kv_cache_dtype
!=
"auto"
:
if
self
.
kv_cache_dtype
!=
"auto"
:
supported
=
current_platform
.
is_kv_cache_dtype_supported
(
supported
=
current_platform
.
is_kv_cache_dtype_supported
(
self
.
kv_cache_dtype
,
model_config
)
self
.
kv_cache_dtype
,
model_config
)
...
...
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