A Docker container for fastai
10K+
This Docker container lets you easily get started with using fast.ai (https://github.com/fastai/fastai).
This is not an official Fast.ai release, nor associated with Fast.ai. If you are looking for the official fast.ai container, they are located here
The container is being maintained by seeme.ai, with a goal to be helpful to people wanting to use fast.ai in a Docker container.
To get the best experience, you will need a linux machine with a NVidia GPU.
Install Docker: https://docs.docker.com/install/
Install Nvidia-docker: https://github.com/NVIDIA/nvidia-docker
Run container
docker run -it --gpus all --shm-size=32g -p 8888:8888 -v $HOME/.fastai:/root/.fastai -v $HOME/.cache:/root/.cache seemeai/fastai:tagname
It uses two volumes to persist the data:
--shm-size: set the RAM you want the container to use
Tags are named using the PyTorch version and the fastai version together with a build version.
pt-%PYTORCH_VERSION-fa-%FASTAI_VERSION%-%BUILD_VERSION%
For example, the tag:
pt-1.11.0-fa-2.7.2-1.1.0
consists of:
Every PyTorch version comes with its own torchvision, which is installed but not included in the tag naming.
| PyTorch | torchvision | torchaudio |
|---|---|---|
| 1.11.0 | 0.12.0 | 0.11.0 |
| 1.10.0 | 0.11.0 | 0.10.0 |
| 1.9.0 | 0.10.0 | 0.9.0 |
| 1.8.0 | 0.9.0 | 0.8.0 |
| 1.7.0 | 0.8.1 | 0.7.0 |
| 1.6.0 | 0.7.0 | |
| 1.5.1 | 0.6.1 | |
| 1.5.0 | 0.6.0 | |
| 1.4.0 | 0.5.0 |
The current base container is: pytorch/pytorch:$torch_version-cuda11.3-cudnn8-runtime
where torch_version is 1.10.0 or 1.11.0
Content type
Image
Digest
sha256:64aee07fd…
Size
6.9 GB
Last updated
5 months ago
docker pull seemeai/fastai:pt-2.9.1-fa-2.8.7