NVIDIA / modulus

Open-source deep-learning framework for building, training, and fine-tuning deep learning models using state-of-the-art Physics-ML methods
https://developer.nvidia.com/modulus
Apache License 2.0
1.03k stars 243 forks source link

Installation issue on windows wsl #657

Closed AvisP closed 2 months ago

AvisP commented 2 months ago

I followed the steps as outlined before running the docker container with command sudo docker run --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 --runtime nvidia --rm -it nvcr.io/nvidia/modulus/modulus:24.04 bash but I keep getting rhe error docker: Error response from daemon: unknown or invalid runtime name: nvidia. I verfied that I am getting output by executing nvidia-smi and nvidia-nvcc on wsl.

Also I did docker run -it --rm --gpus all ubuntu nvidia-smi and it gave the following output. Any suggestion as to what is the issue with the docker image of modulus would be helpful.

Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
31e907dcc94a: Pull complete
Digest: sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee
Status: Downloaded newer image for ubuntu:latest
Tue Aug 27 20:48:40 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.99                 Driver Version: 552.74         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A1000 Laptop GPU    On  |   00000000:01:00.0  On |                  N/A |
| N/A   43C    P8              5W /   55W |     388MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
AvisP commented 2 months ago

Follow the additional steps at https://github.com/NVIDIA/nvidia-container-toolkit/issues/665