-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[AMD] Pin cache-dit==1.3.0 in rocm.Dockerfile + AMD CI install script #24924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
a63939c
fba6ac9
5a27b0e
723fdd3
4a50a07
2774de0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -169,7 +169,7 @@ EOF | |
| docker exec ci_sglang pip install --cache-dir=/sgl-data/pip-cache pytest | ||
|
|
||
| # Install cache-dit for qwen_image_t2i_cache_dit_enabled test (added in PR 16204) | ||
| docker exec ci_sglang pip install --cache-dir=/sgl-data/pip-cache cache-dit || echo "cache-dit installation failed" | ||
| docker exec ci_sglang pip install --cache-dir=/sgl-data/pip-cache --upgrade 'cache-dit==1.3.0' || echo "cache-dit installation failed" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change LGTM — pinning to |
||
|
|
||
| # Install accelerate for distributed training and inference support | ||
| docker exec ci_sglang pip install --cache-dir=/sgl-data/pip-cache accelerate || echo "accelerate installation failed" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This install is overwritten a few lines below. The next
RUNblock does:and
diffusion_hipinpython/pyproject_other.tomlstill pinscache-dit==1.1.8, so pip will downgradecache-ditfrom1.3.0back to1.1.8during the sglang editable install. The net effect is that the built image still shipscache-dit==1.1.8, which is exactly why theamd_ci_install_dependency.shupgrade is required at job start.To make this line actually do something (or to render it unnecessary), bump
cache-dit==1.1.8 → 1.3.0inpython/pyproject_other.toml(diffusion_hipextra, and likely alsodiffusion_musa) and in3rdparty/amd/wheel/sglang/pyproject.toml. Otherwise, this line can be dropped from the PR.