Skip to content

No serving in quality docker image#45677

Merged
ydshieh merged 1 commit intomainfrom
no_serving
Apr 28, 2026
Merged

No serving in quality docker image#45677
ydshieh merged 1 commit intomainfrom
no_serving

Conversation

@ydshieh
Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh commented Apr 28, 2026

What does this PR do?

It blows up the docker image size from 200 MB to 4G

Comment thread docker/quality.dockerfile
ENV UV_PYTHON=/usr/local/bin/python
RUN pip install uv
RUN uv pip install --no-cache-dir -U pip setuptools GitPython "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[quality,serving]" urllib3
RUN uv pip install --no-cache-dir -U pip setuptools GitPython "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[quality]" urllib3
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We already have

uv pip install -e ".[quality,serving]"

in quality job. So no need to update in this PR

@ydshieh ydshieh merged commit 1579083 into main Apr 28, 2026
17 checks passed
@ydshieh ydshieh deleted the no_serving branch April 28, 2026 08:53
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants