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
dd9342e6
Unverified
Commit
dd9342e6
authored
Apr 07, 2026
by
Rohan Potdar
Committed by
GitHub
Apr 07, 2026
Browse files
only patch runtime_env for torch >= 2.10 (#38763)
Signed-off-by:
Rohan138
<
rohanpotdar138@gmail.com
>
parent
8060bb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/env_override.py
vllm/env_override.py
+1
-1
No files found.
vllm/env_override.py
View file @
dd9342e6
...
@@ -500,7 +500,7 @@ if is_torch_equal("2.9.0"):
...
@@ -500,7 +500,7 @@ if is_torch_equal("2.9.0"):
# This mirrors the fix in https://github.com/pytorch/pytorch/pull/177558
# This mirrors the fix in https://github.com/pytorch/pytorch/pull/177558
# and can be removed once torch >=2.12 is the minimum supported version.
# and can be removed once torch >=2.12 is the minimum supported version.
if
not
is_torch_equal_or_newer
(
"2.12.0"
):
if
is_torch_equal_or_newer
(
"2.10.0"
)
and
not
is_torch_equal_or_newer
(
"2.12.0"
):
import
builtins
as
_builtins
import
builtins
as
_builtins
import
pickle
import
pickle
...
...
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