Skip to content

ci: Optimize docker layer and uv with no cache#1444

Merged
thomasdhc merged 3 commits intomainfrom
donghyukc/remove_cache
Jan 30, 2026
Merged

ci: Optimize docker layer and uv with no cache#1444
thomasdhc merged 3 commits intomainfrom
donghyukc/remove_cache

Conversation

@thomasdhc
Copy link
Copy Markdown
Contributor

Description

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread docker/Dockerfile

# Selective file copying before dependency installation for better layer caching
COPY pyproject.toml uv.lock /opt/Curator/
COPY nemo_curator/__init__.py nemo_curator/package_info.py /opt/Curator/nemo_curator/
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.

copying __init__.py might cause issues during uv sync if setuptools tries to import it, since it imports cosmos_xenna.ray_utils.cluster which isn't installed yet

Suggested change
COPY nemo_curator/__init__.py nemo_curator/package_info.py /opt/Curator/nemo_curator/
COPY nemo_curator/package_info.py /opt/Curator/nemo_curator/

Copy link
Copy Markdown
Contributor

@praateekmahajan praateekmahajan left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

r1.1.0 Pick this label for auto cherry-picking into r1.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants