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
f7f16f29
Commit
f7f16f29
authored
Mar 31, 2025
by
zhuwenwen
Browse files
add VLLM_USE_FLUX
parent
3ab7f0ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vllm/envs.py
vllm/envs.py
+5
-0
No files found.
vllm/envs.py
View file @
f7f16f29
...
@@ -19,6 +19,7 @@ if TYPE_CHECKING:
...
@@ -19,6 +19,7 @@ if TYPE_CHECKING:
VLLM_USE_OPT_OP
:
bool
=
False
VLLM_USE_OPT_OP
:
bool
=
False
VLLM_USE_TC_PAGED_ATTN
:
bool
=
False
VLLM_USE_TC_PAGED_ATTN
:
bool
=
False
VLLM_USE_PA_PRINT_PARAM
:
bool
=
False
VLLM_USE_PA_PRINT_PARAM
:
bool
=
False
VLLM_USE_FLUX
:
bool
=
False
VLLM_FLASH_ATTN_VERSION
:
Optional
[
int
]
=
None
VLLM_FLASH_ATTN_VERSION
:
Optional
[
int
]
=
None
LOCAL_RANK
:
int
=
0
LOCAL_RANK
:
int
=
0
CUDA_VISIBLE_DEVICES
:
Optional
[
str
]
=
None
CUDA_VISIBLE_DEVICES
:
Optional
[
str
]
=
None
...
@@ -254,6 +255,10 @@ environment_variables: Dict[str, Callable[[], Any]] = {
...
@@ -254,6 +255,10 @@ environment_variables: Dict[str, Callable[[], Any]] = {
"VLLM_USE_PA_PRINT_PARAM"
:
"VLLM_USE_PA_PRINT_PARAM"
:
lambda
:
(
os
.
environ
.
get
(
"VLLM_USE_PA_PRINT_PARAM"
,
"False"
).
lower
()
in
lambda
:
(
os
.
environ
.
get
(
"VLLM_USE_PA_PRINT_PARAM"
,
"False"
).
lower
()
in
(
"true"
,
"1"
)),
(
"true"
,
"1"
)),
# If set, try to use the flux fused collective communication gemm kernels.
"VLLM_USE_FLUX"
:
lambda
:
bool
(
int
(
os
.
getenv
(
"VLLM_USE_FLUX"
,
"0"
))),
# Force vllm to use a specific flash-attention version (2 or 3), only valid
# Force vllm to use a specific flash-attention version (2 or 3), only valid
# when using the flash-attention backend.
# when using the flash-attention backend.
...
...
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