Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ RUN cd /opt/Curator && \
uv sync --link-mode copy --locked --extra all --all-groups && \
uv add /opt/InternVideo/InternVideo2/multi_modality && \
uv cache prune && \
uv cache clean distance
uv cache clean distance && \
find /opt/uv_cache/ -type d -path "*ray/_private/runtime_env/agent/thirdparty_files/aiohttp*" -exec rm -rf {} +

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The find command with -exec rm -rf {} + may fail silently if the path doesn't exist, breaking the Docker build. Consider adding || true to prevent build failures.

Suggested change
find /opt/uv_cache/ -type d -path "*ray/_private/runtime_env/agent/thirdparty_files/aiohttp*" -exec rm -rf {} +
find /opt/uv_cache/ -type d -path "*ray/_private/runtime_env/agent/thirdparty_files/aiohttp*" -exec rm -rf {} + || true


COPY <<EOF /opt/venv/env.sh
export UV_PROJECT_ENVIRONMENT=/opt/venv
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,21 @@ no-build-isolation-package = ["flash-attn"]
constraint-dependencies = [
"aiohttp>=3.13.3", # Addresses CVE GHSA-6mq8-rvhq-8wgg
"protobuf>=4.25.8", # Address CVE GHSA-8qvm-5x2c-j2w7
"xgrammar>=0.1.21", # Address CVE GHSA-5cmr-4px5-23pc
"starlette>=0.49.1", # Address CVE GHSA-7f5h-v6xp-fcq8
"pyasn1>=0.6.2", # Address CVE GHSA-63vm-454h-vhhq
"ray[default,data]>=2.52", # Address CVE GHSA-q279-jhrf-cc6v
"starlette>=0.49.1", # Address CVE GHSA-7f5h-v6xp-fcq8
"urllib3>=2.6.3", #Address CVE GHSA-38jv-5279-wg99
"wheel>=0.46.2", #Address CVE GHSA-8rrh-rw8j-w5fx
"xgrammar>=0.1.21", # Address CVE GHSA-5cmr-4px5-23pc
]
override-dependencies = [
"apex; sys_platform == 'never'",
"distance; sys_platform == 'never'",
"kaldiio; sys_platform == 'never'",
"levenshtein; sys_platform == 'never'",
"transformers>=4.55.2",
"protobuf>=5.29.5", # Override nemo-toolkits constraint of ~=5.29.5
"setuptools>=80.10.1", # Override setuptools range in other dependencies to address CVE GHSA-58pv-8j8x-9vj2
"transformers>=4.55.2",
]


Expand Down
36 changes: 21 additions & 15 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading