Skip to content

ashleykleynhans/runpod-base-images

Repository files navigation

Docker base images for RunPod templates

Target Images

Python 3.10

py310-cu121-torch212

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.10.12
  • Torch 2.1.2
  • xformers 0.0.23.post1

py310-cu121-torch222

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.10.12
  • Torch 2.2.2
  • xformers 0.0.25.post1

py310-cu121-torch231

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.10.12
  • Torch 2.3.1
  • xformers 0.0.27

py310-cu121-torch260

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.10.12
  • Torch 2.6.0
  • xformers 0.0.29.post3

Python 3.11

py311-cu121-torch260

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.11.9
  • Torch 2.6.0
  • xformers 0.0.29.post3

py311-cu121-torch270

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.11.9
  • Torch 2.7.0
  • xformers 0.0.30

py311-cu121-torch271

  • Ubuntu 22.04 LTS
  • CUDA 12.1
  • Python 3.11.9
  • Torch 2.7.1
  • xformers 0.0.31

Python 3.12

py312-cu124-torch260

  • Ubuntu 22.04 LTS
  • CUDA 12.4
  • Python 3.12.9
  • Torch 2.6.0
  • xformers 0.0.29.post3

py312-cu128-torch270

  • Ubuntu 22.04 LTS
  • CUDA 12.8
  • Python 3.12.9
  • Torch 2.7.0
  • xformers 0.0.30

py312-cu128-torch271

  • Ubuntu 22.04 LTS
  • CUDA 12.8
  • Python 3.12.9
  • Torch 2.7.1
  • xformers 0.0.31

Pre-installed applications

Building the Docker image

Note

You will need to edit the docker-bake.hcl file and update REGISTRY_USER, and RELEASE. You can obviously edit the other values too, but these are the most important ones.

# Clone the repo
git clone https://github.com/ashleykleynhans/runpod-base-images.git

# Log in to Docker Hub
docker login

# Build the default images, tag the images, and push the images to Docker Hub
docker buildx bake -f docker-bake.hcl --push

# Build ALL images, tag the images, and push the images to Docker Hub
docker buildx bake -f docker-bake.hcl all --push

# Build a specific target for a different user, registry and release version
REGISTRY=ghcr.io REGISTRY_USER=my_gh_user RELEASE=x.y.z docker buildx bake \
    -f docker-bake.hcl --push py312-cu128-torch271

Acknowledgements

A special word of thanks to Madiator2011 for advise and suggestions on improving these images, as well as all of the code for the code-server which was borrowed from his madiator-docker-runpod GitHub repository.

Community and Contributing

Pull requests and issues on GitHub are welcome. Bug fixes and new features are encouraged.

Appreciate my work?

Buy Me A Coffee

About

Docker base images for RunPod templates

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •