[NIXL][XPU] update name of nixl wheel (#27631)

Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com>
This commit is contained in:
liuzhenwei
2025-10-29 12:43:29 +08:00
committed by GitHub
parent f6d5f5888c
commit d2c33c397a

View File

@ -37,7 +37,7 @@ def is_pip_package_installed(package_name):
def find_nixl_wheel_in_cache(cache_dir):
"""Finds a nixl wheel file in the specified cache directory."""
# The repaired wheel will have a 'manylinux' tag, but this glob still works.
search_pattern = os.path.join(cache_dir, "nixl-*.whl")
search_pattern = os.path.join(cache_dir, "nixl*.whl")
wheels = glob.glob(search_pattern)
if wheels:
# Sort to get the most recent/highest version if multiple exist