mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-02 17:07:08 +08:00
[Misc] VLLM_TARGET_DEVICE.lower() (#22101)
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
parent
ee2eb6ecd8
commit
57393715e8
@ -213,7 +213,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
|
||||
# Target device of vLLM, supporting [cuda (by default),
|
||||
# rocm, neuron, cpu]
|
||||
"VLLM_TARGET_DEVICE":
|
||||
lambda: os.getenv("VLLM_TARGET_DEVICE", "cuda"),
|
||||
lambda: os.getenv("VLLM_TARGET_DEVICE", "cuda").lower(),
|
||||
|
||||
# Maximum number of compilation jobs to run in parallel.
|
||||
# By default this is the number of CPUs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user