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
504a12b8
Commit
504a12b8
authored
Jun 12, 2025
by
zhuwenwen
Browse files
add kvcache fp8
parent
d074a953
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1088 additions
and
359 deletions
+1088
-359
csrc/quantization/fp8/amd/quant_utils.cuh
csrc/quantization/fp8/amd/quant_utils.cuh
+402
-358
csrc/quantization/fp8/amd/quant_utils_src.cuh
csrc/quantization/fp8/amd/quant_utils_src.cuh
+685
-0
vllm/utils.py
vllm/utils.py
+1
-1
No files found.
csrc/quantization/fp8/amd/quant_utils.cuh
View file @
504a12b8
This diff is collapsed.
Click to expand it.
csrc/quantization/fp8/amd/quant_utils_src.cuh
0 → 100644
View file @
504a12b8
This diff is collapsed.
Click to expand it.
vllm/utils.py
View file @
504a12b8
...
@@ -172,7 +172,7 @@ STR_DTYPE_TO_TORCH_DTYPE = {
...
@@ -172,7 +172,7 @@ STR_DTYPE_TO_TORCH_DTYPE = {
"half"
:
torch
.
half
,
"half"
:
torch
.
half
,
"bfloat16"
:
torch
.
bfloat16
,
"bfloat16"
:
torch
.
bfloat16
,
"float"
:
torch
.
float
,
"float"
:
torch
.
float
,
#
"fp8": torch.uint8,
"fp8"
:
torch
.
uint8
,
# "fp8_e4m3": torch.uint8,
# "fp8_e4m3": torch.uint8,
# "fp8_e5m2": torch.uint8,
# "fp8_e5m2": torch.uint8,
"int8"
:
torch
.
int8
,
"int8"
:
torch
.
int8
,
...
...
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