Skip to content

Experimenting faster and effecient docker builds for projects using tensorflow.

Notifications You must be signed in to change notification settings

jackkweyunga/docker-tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Experimenting faster and effecient docker builds for projects including tensorflow ( which is large ).

Using Tensorflow Docker Image with GPU

REF: https://www.tensorflow.org/install/docker

Method 1 (Not recommended)

Manual installation of tensorflow as a python package.

  • Not implemented

Method 2 (Recommended)

Using docker hub tensorflow docker images as base images.

Example:

FROM tensorflow/tensorflow:latest-gpu

# Add your application here

REF: https://hub.docker.com/r/tensorflow/tensorflow/

Tested tags:

Limitations

  • The base images are large. So, the final image size will be large.
  • The base images are large. So, the builds will take reasonable time.
  • The base images are large. So, the docker hub pulls will take reasonable time.
  • No application is added to the base images. So, build time may vary depending on the application.

Observations

  • Using docker hub tensorflow images as base images is fast ( Not tested Manual installation of tensorflow as a python package. ). Since the base images are already built and available in docker hub. Builds take reasonable time.

Disclaimer

  • All runs are done in Github Actions.

About

Experimenting faster and effecient docker builds for projects using tensorflow.

Resources

Stars

Watchers

Forks

Releases

No releases published