-
Notifications
You must be signed in to change notification settings - Fork 10
Add dependencies to pyproject and uv.lock #6
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
Conversation
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
skyw
left a comment
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.
Otherwise LGTM.
docker/Dockerfile.ci
Outdated
| uv sync --link-mode symlink --locked --all-groups \ | ||
| --no-install-package absl-py \ | ||
| --no-install-package torch \ | ||
| --no-install-package torchvision \ |
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.
I'm not familiar with uv. Does this mean install or not install torchvision?
Torchvision is not needed.
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.
It means NOT to install. I'll remove it anyway because it's not needed here. I copied these exclusions from sone other projects where we need to prevent uv from overriding the torch dependencies that are already installed.
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.
uv works well when we're installing all the dependencies from scratch. However, in the Pytorch container, we need to tell uv to not install the already installed dependencies we care about
Signed-off-by: Charlie Truong <[email protected]>
Add dependencies to pyproject and uv.lock