question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using Nvidia CUDA with repo2docker

See original GitHub issue

Related to https://github.com/jupyterhub/team-compass/issues/52 and https://github.com/jupyterhub/team-compass/issues/85 and the fork from @spMohanty that includes CUDA in the base image

@choldgraf was curious about how we could vary the base image in r2d. @minrk thought we could create an additional configuration file to specify the base image eg runtime.txt we should probably require ubuntu as the OS?

This was mentioned in this month’s meeting

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:27 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
choldgrafcommented, Nov 16, 2018

what if we did the following:

  • Added a new parameter to repo2docker, something like --base-image that for now would accept something like org/image:tag.
  • This image, if provided, would replace what’s in the buildpack-deps image: https://github.com/jupyter/repo2docker/blob/master/repo2docker/buildpacks/base.py#L13
  • We provide a warning if this is provided that says something like
    Warning: Alternate base image provided. Reproducibility or compatibility with repo2docker build-packs is not guaranteed. repo2docker will only work with base images running <LIST-OF-REQUIRED-THINGS>.
    
  • Add a documentation page that more explicitly lays out the requirements in the base image.

What do folks think?

1reaction
ctr26commented, Sep 7, 2021

I have a working example of installing cuda all the requisite libraries using just the conda buildpack at

GitHub.com/ctr26/ZeroCostDl4Mic

My gpu k8s is currently down but it works locally atm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Nvidia CUDA with repo2docker · Issue #471 - GitHub
To use your GPU there are two things that need doing: install various things inside your container and install various things on the...
Read more >
Use NVIDIA Cuda in Docker for Data Science Projects
Use NVIDIA Cuda in Docker for Data Science Projects ... In this article I will explain how you can add NVIDIA Cuda in...
Read more >
Using repo2docker — repo2docker 0.1 documentation
repo2docker performs two steps: builds a Docker image from a git repo; runs a Jupyter server within the image to explore the repository....
Read more >
Which docker image is used for my submissions?
We use custom fork of repo2docker for our image build processes. ... Our Dockerfile uses following base image: FROM nvidia/cuda:10.1-cu…
Read more >
Hamel Husain on Twitter: "Want to run fastai in production or a ...
fastai containers are built with GPU / CUDA support https://t.co/u8WIfT9114 ... For nbdev, we use repo2docker to package the images.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found