[XPU] add missing dependency tblib for XPU CI#24639
[XPU] add missing dependency tblib for XPU CI#24639jikunshang merged 3 commits intovllm-project:mainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request addresses a CI failure on XPU by adding the missing tblib dependency. While the change is effective, it installs the dependency directly within the test script. My review suggests moving this dependency into a dedicated requirements file to improve maintainability and build consistency. This is a more robust long-term solution for dependency management.
| bash -c ' | ||
| set -e | ||
| echo $ZE_AFFINITY_MASK | ||
| pip install tblib==3.1.0 |
There was a problem hiding this comment.
For better dependency management and to ensure a consistent build environment, it's recommended to add this dependency to a requirements file instead of installing it directly in the CI script. This helps in centralizing dependency management and leverages Docker's layer caching, potentially speeding up the CI process.
Please consider adding tblib==3.1.0 to the appropriate requirements file (e.g., requirements/xpu.txt as used in docker/Dockerfile.xpu) and removing this line from the script.
There was a problem hiding this comment.
tblib is a test-only dependency. So adding to "xpu.txt" might not be appropriate. But adding an extra "xpu-test.txt" file is also unnecessary for just one dependency. So for now, I think install it directly in the CI script is the most straightforward way.
Signed-off-by: Fanli Lin <fanli.lin@intel.com>
Signed-off-by: Fanli Lin <fanli.lin@intel.com>
Signed-off-by: Fanli Lin <fanli.lin@intel.com>
Purpose
This PR adds the missing dependency introduced in #23795 to fix the following failure in XPU CI:
Test Result
All tests passed.