Skip to content

docker refactor#1284

Merged
ageitgey merged 1 commit intoageitgey:masterfrom
corbanvilla:docker-refactor
Jun 14, 2021
Merged

docker refactor#1284
ageitgey merged 1 commit intoageitgey:masterfrom
corbanvilla:docker-refactor

Conversation

@corbanvilla
Copy link
Copy Markdown
Contributor

I've reworked the Docker images a bit to get them up to date. Here's a summary of my changes:

  • Upgraded dlib to v19.21
  • Upgraded the GPU base image to use cuda 11 and cudnn8 (nvidia/cuda:11.2.0-cudnn8-devel)
    I. Its has been supported by dlib for around ~6 months
    II. There are several performance gains from this upgrade.
  • Implemented multi-stage builds to shrink image sizes.
    I. The CPU image went from ~2GB to 350MB
    II. The GPU image went from ~7GB to ~4GB
  • Added a Kubeflow Jupyter image for easy development on platforms like GCE.

I've setup some autobuilds to keep these images up-to-date. I'm currently hosting these images on my docker hub. I would be happy to help set it up on another account as well.

@ageitgey
Copy link
Copy Markdown
Owner

Thanks!

@ageitgey ageitgey merged commit 87a8449 into ageitgey:master Jun 14, 2021
@corbanvilla corbanvilla deleted the docker-refactor branch July 2, 2021 02:27
p-surya added a commit to p-surya/face_recognition that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants