Skip to content
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

Azure dependency in docker image is somewhat unreasonably large #48874

Closed
jpambrun opened this issue Nov 22, 2024 · 1 comment
Closed

Azure dependency in docker image is somewhat unreasonably large #48874

jpambrun opened this issue Nov 22, 2024 · 1 comment
Labels
bug Something that is supposed to be working; but isn't core Issues that should be addressed in Ray Core triage Needs triage (eg: priority, bug/not-bug, and owning component)

Comments

@jpambrun
Copy link

What happened + What you expected to happen

The azure dependency appears to consume 470MB of space on the docker image. I am not sure what to make of it, but it doesn't seem reasonable.

> docker run -it --rm rayproject/ray:2.39.0-py311-cpu /bin/bash
> du -d1 ~/anaconda3/lib/python3.1/site-packages | sort -nr | head 
1685704 /home/ray/anaconda3/lib/python3.1/site-packages
472524  /home/ray/anaconda3/lib/python3.1/site-packages/azure
188116  /home/ray/anaconda3/lib/python3.1/site-packages/ray
161884  /home/ray/anaconda3/lib/python3.1/site-packages/cupy
128132  /home/ray/anaconda3/lib/python3.1/site-packages/pyarrow
99376   /home/ray/anaconda3/lib/python3.1/site-packages/scipy
84644   /home/ray/anaconda3/lib/python3.1/site-packages/botocore
74700   /home/ray/anaconda3/lib/python3.1/site-packages/pandas
42584   /home/ray/anaconda3/lib/python3.1/site-packages/numpy
38992   /home/ray/anaconda3/lib/python3.1/site-packages/skimage

Versions / Dependencies

Docker image rayproject/ray:2.39.0-py311-cpu

Reproduction script

> docker run -it --rm rayproject/ray:2.39.0-py311-cpu /bin/bash
> du -d1 ~/anaconda3/lib/python3.1/site-packages | sort -nr | head 

Issue Severity

Low: It annoys or frustrates me.

@jpambrun jpambrun added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Nov 22, 2024
@jcotant1 jcotant1 added the core Issues that should be addressed in Ray Core label Nov 25, 2024
@jjyao
Copy link
Collaborator

jjyao commented Nov 25, 2024

This should have been fixed by #48762. Azure dependencies are no longer part of the docker image.

@jjyao jjyao closed this as completed Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't core Issues that should be addressed in Ray Core triage Needs triage (eg: priority, bug/not-bug, and owning component)
Projects
None yet
Development

No branches or pull requests

3 participants