Skip to content

Conversation

@c-bata
Copy link
Member

@c-bata c-bata commented Jun 11, 2025

Motivation

The current Docker image for optuna-mcp is quite large, with a size of 3.14 GB as shown here:
https://hub.docker.com/repository/docker/optuna/optuna-mcp/tags

Description of the changes

This PR reduces the image size significantly from 6.33 GB to 1.66 GB. The resulting compressed Docker image file is expected to be around 840 MB.

$ docker images
REPOSITORY                        TAG                IMAGE ID       CREATED          SIZE
optuna/optuna-mcp                 v0.1.0-py3.12      0545e2dc86f4   48 minutes ago   6.33GB
optuna-mcp                        pytorch-cpu-only   b867b15d0ba1   8 seconds ago    1.66GB
optuna-mcp                        no-pytorch         273e8ebfe315   2 minutes ago    871MB

Copy link
Member

@y0z y0z left a comment

Choose a reason for hiding this comment

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

LGTM

@y0z y0z merged commit e12ad04 into optuna:main Jun 11, 2025
3 checks passed
@c-bata c-bata deleted the use-pytorch-cpu-only-wheel branch June 11, 2025 07:56
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.

2 participants