lightning/dockers
Jirka Borovec 977df6ed31
Docker: building XLA base image (#2494)
* refactor

* add TPU base

* wip

* builds

* typo

* extras

* simple

* unzip

* rename
2020-07-06 14:21:36 -04:00
..
conda Docker: building XLA base image (#2494) 2020-07-06 14:21:36 -04:00
tpu-extras Docker: building XLA base image (#2494) 2020-07-06 14:21:36 -04:00
tpu-tests Docker: building XLA base image (#2494) 2020-07-06 14:21:36 -04:00
README.md Docker: building XLA base image (#2494) 2020-07-06 14:21:36 -04:00

README.md

Builds

You can build it on your own, note it takes lots of time, be prepared.

git clone <git-repository>
docker image build -t pytorch-lightning:latest -f dockers/conda/Dockerfile .

or with specific arguments

git clone <git-repository>
docker image build \
    -t pytorch-lightning:py38 \
    -f dockers/conda/Dockerfile \
    --build-arg PYTHON_VERSION=3.8 \
    --build-arg PYTORCH_VERSION=1.4 \
    .

To run your docker use

docker image list
docker run --rm -it pytorch-lightning:latest bash

and if you do not need it anymore, just clean it:

docker image list
docker image rm pytorch-lightning:latest