Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
7b5fc719
Unverified
Commit
7b5fc719
authored
Mar 21, 2025
by
Cheng Wan
Committed by
GitHub
Mar 20, 2025
Browse files
fix SUPPORT_CUTLASS_BLOCK_FP8 flag (#4640)
parent
ad4e58bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/layers/quantization/fp8_utils.py
python/sglang/srt/layers/quantization/fp8_utils.py
+1
-1
No files found.
python/sglang/srt/layers/quantization/fp8_utils.py
View file @
7b5fc719
...
...
@@ -82,7 +82,7 @@ def normalize_e4m3fn_to_e4m3fnuz(
def
cutlass_block_fp8_supported
()
->
bool
:
if
get_bool_env_var
(
"SUPPORT_CUTLASS_BLOCK_FP8"
):
if
not
get_bool_env_var
(
"SUPPORT_CUTLASS_BLOCK_FP8"
):
return
False
if
_is_cuda
:
major
,
minor
=
torch
.
cuda
.
get_device_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