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
f90aa446
Unverified
Commit
f90aa446
authored
Apr 21, 2026
by
Soila Kavulya
Committed by
GitHub
Apr 22, 2026
Browse files
[NIXL][XPU]Fix nixl import on XPU (#40430)
Signed-off-by: Soila Kavulya <soila.p.kavulya.intel.com>
parent
cefa5281
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/distributed/nixl_utils.py
vllm/distributed/nixl_utils.py
+3
-3
No files found.
vllm/distributed/nixl_utils.py
View file @
f90aa446
...
@@ -24,7 +24,7 @@ if "UCX_RCACHE_MAX_UNRELEASED" not in os.environ:
...
@@ -24,7 +24,7 @@ if "UCX_RCACHE_MAX_UNRELEASED" not in os.environ:
os
.
environ
[
"UCX_RCACHE_MAX_UNRELEASED"
]
=
"1024"
os
.
environ
[
"UCX_RCACHE_MAX_UNRELEASED"
]
=
"1024"
try
:
try
:
if
current_platform
.
is_
cuda
():
if
not
current_platform
.
is_
rocm
():
from
nixl._api
import
nixl_agent
as
NixlWrapper
from
nixl._api
import
nixl_agent
as
NixlWrapper
else
:
else
:
from
rixl._api
import
nixl_agent
as
NixlWrapper
from
rixl._api
import
nixl_agent
as
NixlWrapper
...
@@ -35,7 +35,7 @@ except ImportError:
...
@@ -35,7 +35,7 @@ except ImportError:
NixlWrapper
=
None
# type: ignore[assignment, misc]
NixlWrapper
=
None
# type: ignore[assignment, misc]
try
:
try
:
if
current_platform
.
is_
cuda
():
if
not
current_platform
.
is_
rocm
():
from
nixl._api
import
nixl_agent_config
from
nixl._api
import
nixl_agent_config
else
:
else
:
from
rixl._api
import
nixl_agent_config
from
rixl._api
import
nixl_agent_config
...
@@ -44,7 +44,7 @@ except ImportError:
...
@@ -44,7 +44,7 @@ except ImportError:
logger
.
warning_once
(
"NIXL agent config is not available"
)
logger
.
warning_once
(
"NIXL agent config is not available"
)
try
:
try
:
if
current_platform
.
is_
cuda
():
if
not
current_platform
.
is_
rocm
():
from
nixl._bindings
import
nixlXferTelemetry
from
nixl._bindings
import
nixlXferTelemetry
else
:
else
:
from
rixl._bindings
import
nixlXferTelemetry
from
rixl._bindings
import
nixlXferTelemetry
...
...
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