File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -181,11 +181,11 @@ Our Docker images for most examples are available with the tag ending with `-dev
181181For example, [ PyTorch Simple] ( ./pytorch/pytorch_simple.py ) can be run via:
182182
183183``` bash
184- $ docker run --rm -v $( pwd) :/prj -w /prj optuna/optuna:py3.7 -dev python pytorch/pytorch_simple.py
184+ $ docker run --rm -v $( pwd) :/prj -w /prj optuna/optuna:py3.11 -dev python pytorch/pytorch_simple.py
185185```
186186
187187Additionally, our visualization example can also be run on Jupyter Notebook by opening ` localhost:8888 ` in your browser after executing the following:
188188
189189``` bash
190- $ docker run -p 8888:8888 --rm optuna/optuna:py3.7 -dev jupyter notebook --allow-root --no-browser --port 8888 --ip 0.0.0.0 --NotebookApp.token=' ' --NotebookApp.password=' '
190+ $ docker run -p 8888:8888 --rm optuna/optuna:py3.11 -dev jupyter notebook --allow-root --no-browser --port 8888 --ip 0.0.0.0 --NotebookApp.token=' ' --NotebookApp.password=' '
191191```
Original file line number Diff line number Diff line change 11# NOTE(crcrpar): optuna/optuna:py3.7-dev can be used as base instead.
2- FROM python:3.7 -slim-buster
2+ FROM python:3.11 -slim
33
44WORKDIR /usr/src/
55
66RUN pip install --no-cache-dir optuna psycopg2-binary mlflow \
7- && pip install --no-cache-dir \
8- torch==1.10.0+cpu \
9- torchvision==0.11.1+cpu \
10- -f https://download.pytorch.org/whl/torch_stable.html \
7+ && pip install --no-cache-dir torch torchvision \
8+ --index-url https://download.pytorch.org/whl/cpu \
119 && pip install pytorch-lightning
1210
1311COPY pytorch_lightning_distributed.py .
Original file line number Diff line number Diff line change 1- FROM python:3.7 -slim-buster
1+ FROM python:3.11 -slim
22
33WORKDIR /usr/src/
44
You can’t perform that action at this time.
0 commit comments