| 26 Jan 2024 |
benoitdr | I have built a docker image of an application that requires nvidia/cuda using dockerTools.buildImage. The image runs fine with nvidia-docker -run .... however, when I start a container from the same image via docker-compose, I have the following error :
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: ldcache error: process /nix/store/cx01qk0qyylvkgisbwc7d3pk8sliccgh-glibc-2.38-27-bin/bin/ldconfig failed with error code: 1: unknown
I have added the few lines that are usually required to run nvidia/cuda images with docker-compose :
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]
Note that other images (from docker hub) that require nvidia/cuda are working fine with these few lines. Any idea what could go wrong ?
| 20:49:40 |
Someone S | didn't read but do check out the nvidia-container-toolkit cdi PR maybe | 21:50:43 |
| 29 Jan 2024 |
| bgrayburn joined the room. | 16:36:08 |
| 31 Jan 2024 |
| @federicodschonborn:matrix.org changed their profile picture. | 03:36:07 |
| Alex Ou joined the room. | 04:57:44 |
| @federicodschonborn:matrix.org changed their profile picture. | 06:21:45 |
| 3 Feb 2024 |
| Tanja (Old; I'm now @tanja:catgirl.cloud) joined the room. | 02:50:47 |
| 5 Feb 2024 |
| bbenno joined the room. | 13:07:46 |
| 9 Feb 2024 |
| Daniel Fahey joined the room. | 10:32:08 |
| 12 Feb 2024 |
| lunchtime joined the room. | 02:13:16 |
| @lunchtime:envs.net joined the room. | 10:45:57 |
| 14 Feb 2024 |
| user_5739 joined the room. | 12:51:42 |
user_5739 | Hello All 👋
New to NixOS here but I need to be able to run a virtual env manager like miniconda. Anybody has any successes in this regard? | 12:56:13 |
benoitdr | I think nix-shell is what you are looking for. Personally I completely gave up conda, venv and pip since I discovered nix ;-) | 13:26:59 |
| 17 Feb 2024 |
user_5739 | In reply to@benoitdr:matrix.org I think nix-shell is what you are looking for. Personally I completely gave up conda, venv and pip since I discovered nix ;-) Interesting... I've been avoiding going out of the config file in terms of configuration. I'll try to use the nix-shell. Any guides you can recommend? | 07:40:16 |
Someone S | In reply to @user_5739:matrix.org Hello All 👋 New to NixOS here but I need to be able to run a virtual env manager like miniconda. Anybody has any successes in this regard? I also use nixpkgs python3Packages as my main python distribution, but if you need conda then nix-ld + micromamba work fine | 11:42:01 |
benoitdr | In reply to @user_5739:matrix.org Interesting... I've been avoiding going out of the config file in terms of configuration. I'll try to use the nix-shell. Any guides you can recommend? Follow the turorial on https://nix.dev/ | 12:55:34 |
| 19 Feb 2024 |
| rhizomes joined the room. | 04:27:41 |
user_5739 | Thank you both 🙂 | 14:07:09 |
| 22 Feb 2024 |
benoitdr |  Download image.png | 11:56:02 |
benoitdr | Hi folks, I have a weird problem with jupyterlab-git extension. The diffs appear inline instead of side-by-side as it should be (and as it is with the pip package).
I suspect a missing dependency in jupyterlab-git.
Anyone has seen this already ? any idea ? | 11:56:21 |
| 23 Feb 2024 |
| TyberiusPrime (fiber at home when) changed their display name from TyberiusPrime to TyberiusPrime (possibly infected with highly specific brain worms). | 11:31:29 |
| 26 Feb 2024 |
| TyberiusPrime (fiber at home when) changed their display name from TyberiusPrime (possibly infected with highly specific brain worms) to TyberiusPrime (smilodon inopinatus). | 09:24:22 |
| 27 Feb 2024 |
| @nerves:bark.lgbt joined the room. | 04:11:03 |
@nerves:bark.lgbt | what version of tensorflow are you using? I seem t have problems building this when using a flake | 04:13:39 |
| 29 Feb 2024 |
| @kandread_umass.edu:matrix.org changed their display name from kandread to Kostas Andreadis. | 17:38:06 |
| 1 Mar 2024 |
| tomberek set a profile picture. | 15:20:51 |
| @mlen:hackerspace.pl left the room. | 22:18:43 |
| 2 Mar 2024 |
benoitdr | I spent a couple of days to look around for all kind on jupyter + nix projects, but I'm now wondering : is there any solution for reproducible jupyter lab extensions using nix ??? The unmerged PR on the wiki does not work anymore, the jupyterWith project mentions extension support as TODO, so I'm doubtful ... | 20:40:23 |
@nerves:bark.lgbt | * what version of tensorflow are you using? I seem to have problems building this when using a flake | 21:20:18 |