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
7a81bc31
Commit
7a81bc31
authored
Dec 02, 2025
by
zhuwenwen
Browse files
update fp8 native implementation
parent
98a011e9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
402 additions
and
366 deletions
+402
-366
csrc/quantization/fp8/amd/quant_utils.cuh
csrc/quantization/fp8/amd/quant_utils.cuh
+400
-364
vllm/utils/__init__.py
vllm/utils/__init__.py
+2
-2
No files found.
csrc/quantization/fp8/amd/quant_utils.cuh
View file @
7a81bc31
This diff is collapsed.
Click to expand it.
vllm/utils/__init__.py
View file @
7a81bc31
...
...
@@ -132,8 +132,8 @@ STR_DTYPE_TO_TORCH_DTYPE = {
"bfloat16"
:
torch
.
bfloat16
,
"float"
:
torch
.
float
,
"fp8"
:
torch
.
uint8
,
#
"fp8_e4m3": torch.uint8,
#
"fp8_e5m2": torch.uint8,
"fp8_e4m3"
:
torch
.
uint8
,
"fp8_e5m2"
:
torch
.
uint8
,
"int8"
:
torch
.
int8
,
"fp8_inc"
:
torch
.
float8_e4m3fn
,
"fp8_ds_mla"
:
torch
.
uint8
,
...
...
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