GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - okoko/python-torch-docker: Base image for python projects needing torch

BranchesTags
Open more actions menu

Latest commit

 

History

155 Commits
155 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
constraints-2.3.1.txt
constraints-2.3.1.txt
 
 
constraints-2.9.1.txt
constraints-2.9.1.txt
 
 
merge.py
merge.py
 
 

Repository files navigation

okoko/python-torch

Base Docker image for python projects needing machine learning framework PyTorch package.

This image works as a base on which you can install your smaller python dependencies. PyTorch is rather large package you rather not download every time your requirements.txt changes. If you have many images using PyTorch, using this as the common base image can save a lot of disk space.

Your own requirements.txt should only contain matching versions of packages. To know the packages already installed, run

docker run --rm okoko/python-torch:<tag> pip freeze

The output can be used as content of --constraint file to pip-compile.

The torch builds for +cuNNN are installed from package index https://download.pytorch.org/whl/cuNNN/. This same index needs to be used to install torchvision. It is not included in the image because it is fairly small and has dependencies we rather maintain in the images build on this.

License

The image build is licensed using BSD-3, but the underlying Debian, Python, PyTorch and any other software have their own licenses. Please take responsibility and use this image according to licenses of the included software.

About

Base image for python projects needing torch

Topics

docker-imagepythonpython-torchpython3pytorch

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.