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
a989ca2b
Unverified
Commit
a989ca2b
authored
Mar 21, 2025
by
Shanshan Shen
Committed by
GitHub
Mar 21, 2025
Browse files
[Bugfix] Add int8 torch dtype for KVCache (#15260)
Signed-off-by:
shen-shanshan
<
467638484@qq.com
>
parent
0fa3970d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/utils.py
vllm/utils.py
+1
-0
No files found.
vllm/utils.py
View file @
a989ca2b
...
...
@@ -153,6 +153,7 @@ STR_DTYPE_TO_TORCH_DTYPE = {
"fp8"
:
torch
.
uint8
,
"fp8_e4m3"
:
torch
.
uint8
,
"fp8_e5m2"
:
torch
.
uint8
,
"int8"
:
torch
.
int8
,
}
TORCH_DTYPE_TO_NUMPY_DTYPE
=
{
...
...
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