-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CUDA to 11.8 #123
Comments
@vanHavel You may be interested in b-data's/my GPU accelerated JupyterLab docker stacks. (currently) Based on nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04; including code-server – aka VS Code in the browser. |
thanks for the links. I took a look and have a question for you:
this is different than how the (vanilla) jupyter docker-stacks images work, as they default to mounting It's been years since I've thought about this decision, but many years ago I was managing a jupyterhub for hundreds of students and this discussion about the persistence of So I was wondering if something's changed or if you had some thoughts on this. +1 for the vscode inclusion, I do that as well for my images which have their base images taken from here. |
See jupyter/docker-stacks#1478.
There is no Conda in b-data's/my images.
You can start fresh with a new container with b-data's/my images, too.
True. (If a user messes up, the JupyterHub admin must step in)
IMHO users should have all the freedom in their home directory. E.g. in the case of b-data's/my images even installing Miniconda or Micromamba at user level – persistently.
For my thoughts, see b-data/jupyterlab-python-docker-stack#1 (comment). There are startup hooks in place. Especially By allowing users to persistently install Python packages at user level b-data's/my docker stacks do not require separate images for simply installing python packages like TensorFlow or PyTorch. b-data's/my images also support Docker/Podman in rootless mode. I have opened a pull request to "backport" this feature to the (vanilla) jupyter docker-stacks images: jupyter/docker-stacks#2039 |
Furthermore there are no GPU accelerated (vanilla) jupyter docker-stacks images and this repository misses some essential features:
Our dear colleagues from the Rocker project have a different problem: |
Not VS Code but code-server – aka VS Code in the browser plus some additional features. |
@benz0li thank you for the detailed response. I'm reading through the links you provided to issue discussions and it's clear you've put a lot of thought and work into the design changes. The approach to optionally bind-mounting home / having a population script if empty... is not something I considered. You solved for one of the most painful UX: the state preservation of (and yes, my mistake, I did mean code-server). I think you've aimed at a "one image for everything" design, whereas yes, I believe the design approach before was that users run multiple servers in jupyterhub for their different images, which provides possibly "too much" isolation / a lot of disk consumption on the host OS running docker. And the fact you got it working with rootless docker... wow, that gives me a lot of trust in your technical abilities. Props. That's quite a painful exercise (I haven't tried it here but have migrated other images before opting out of podman entirely). Props also for the So I think you've made some great choices. As you mentioned, the tradeoff for more statefulness comes at the potential need for more admin-interference. So the question becomes: are you deploying for a fleet of inexperienced users (jupyterhub got its start as a product for Berkeley's students), or power-users? For GPU-enabled images, I think the answer leans far more towards the latter. I appreciate you taking the time to explain all that. One random personal style question: |
My images are intended for power users. A user [of b-data's/my images] should have more than just basic Linux knowledge.
I simply like Zsh; further enhanced with
Try starting the image with |
Done. I have whitelisted your account (@mathematicalmichael) for https://demo.cuda.jupyter.b-data.ch. (Anyone with a GitHub account may log in at https://demo.jupyter.b-data.ch) Sometimes it does not start at first try. Simply try again... |
@mathematicalmichael Can you give an example that does not work with my JupyterLab docker stacks? |
@benz0li thank you! with respect to the e.g., in your jupyterhub, thanks for the instruction on how to override the default config, and that does make sense that you're targeting power-users. The original docker-stacks (in my impression) do not necessarily assume the users are comfortable with linux, and I believe that's why |
|
|
Also thanks to @benz0li for the detailed explanations! |
Addendum: I could not get This is due to whether the shell is a 'Login shell' or not. Because
👉 Using @mathematicalmichael With b-data/jupyterlab-r-docker-stack@5e2a258...6080796, |
@benz0li I think this is bc Thanks for digging into that, wasn't aware of how Jupyterhub impacts any of that. |
@mathematicalmichael ℹ️ I found a way to enable bind mounting a subfolder of the home directory for arbitrary Users can now choose whether to (bind) mount the entire home directory or just a subfolder within it. |
Hi,
first of all thank you for providing this docker image, it is very useful.
I have created a fork where I upgraded CUDA to 11.8 to use with newer versions of Tensorflow. The related PR is here: #122
There are a few small caveats listed in the description of the PR. Nevertheless, I hope it will be a good start for folks looking to use the image with newer CUDA.
The text was updated successfully, but these errors were encountered: