[GH-ISSUE #153] invalid runtime name: nvidia #88

Open
opened 2026-10-15 18:04:20 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @yggdrasil75 on GitHub (Sep 9, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/153

F:\creations\text\tool\SillyTavern-extras\docker>docker-compose up -d --build
[+] Building 1.2s (16/16) FINISHED docker:default
=> [sillytavern-extras internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [sillytavern-extras internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 960B 0.0s
=> [sillytavern-extras internal] load metadata for docker.io/nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04 0.4s
=> [sillytavern-extras 1/11] FROM docker.io/nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04@sha256:1748d07d9cf99bd1af9 0.0s
=> [sillytavern-extras internal] load build context 0.2s
=> => transferring context: 48.41kB 0.2s
=> CACHED [sillytavern-extras 2/11] RUN apt-get update && apt-get install -y --no-install-recommends python3 0.0s
=> CACHED [sillytavern-extras 3/11] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64. 0.0s
=> CACHED [sillytavern-extras 4/11] RUN conda --version 0.0s
=> CACHED [sillytavern-extras 5/11] RUN conda init 0.0s
=> CACHED [sillytavern-extras 6/11] RUN conda create -n extras 0.0s
=> CACHED [sillytavern-extras 7/11] RUN /bin/bash -c "source activate extras" 0.0s
=> CACHED [sillytavern-extras 8/11] RUN conda install pytorch torchvision torchaudio pytorch-cuda=11.7 git -c pytorc 0.0s
=> CACHED [sillytavern-extras 9/11] WORKDIR /sillytavern-extras/ 0.0s
=> CACHED [sillytavern-extras 10/11] COPY . . 0.0s
=> CACHED [sillytavern-extras 11/11] RUN pip install -r requirements.txt 0.0s
=> [sillytavern-extras] exporting to image 0.1s
=> => exporting layers 0.0s
=> => writing image sha256:195aa267d01159fd243616fe04070bc21c006c8dae0d6eeb6ffccd402707cff1 0.0s
=> => naming to docker.io/cohee1207/sillytavern-extras 0.0s
[+] Running 0/1

  • Container docker-sillytavern-extras-1 Creating 0.0s
    Error response from daemon: unknown or invalid runtime name: nvidia

after around an hour of installing I get this. how do I run the docker version on windows 10 without a enterprise vm-exposed card?

Originally created by @yggdrasil75 on GitHub (Sep 9, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/153 F:\creations\text\tool\SillyTavern-extras\docker>docker-compose up -d --build [+] Building 1.2s (16/16) FINISHED docker:default => [sillytavern-extras internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s => [sillytavern-extras internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 960B 0.0s => [sillytavern-extras internal] load metadata for docker.io/nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04 0.4s => [sillytavern-extras 1/11] FROM docker.io/nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04@sha256:1748d07d9cf99bd1af9 0.0s => [sillytavern-extras internal] load build context 0.2s => => transferring context: 48.41kB 0.2s => CACHED [sillytavern-extras 2/11] RUN apt-get update && apt-get install -y --no-install-recommends python3 0.0s => CACHED [sillytavern-extras 3/11] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64. 0.0s => CACHED [sillytavern-extras 4/11] RUN conda --version 0.0s => CACHED [sillytavern-extras 5/11] RUN conda init 0.0s => CACHED [sillytavern-extras 6/11] RUN conda create -n extras 0.0s => CACHED [sillytavern-extras 7/11] RUN /bin/bash -c "source activate extras" 0.0s => CACHED [sillytavern-extras 8/11] RUN conda install pytorch torchvision torchaudio pytorch-cuda=11.7 git -c pytorc 0.0s => CACHED [sillytavern-extras 9/11] WORKDIR /sillytavern-extras/ 0.0s => CACHED [sillytavern-extras 10/11] COPY . . 0.0s => CACHED [sillytavern-extras 11/11] RUN pip install -r requirements.txt 0.0s => [sillytavern-extras] exporting to image 0.1s => => exporting layers 0.0s => => writing image sha256:195aa267d01159fd243616fe04070bc21c006c8dae0d6eeb6ffccd402707cff1 0.0s => => naming to docker.io/cohee1207/sillytavern-extras 0.0s [+] Running 0/1 - Container docker-sillytavern-extras-1 Creating 0.0s Error response from daemon: unknown or invalid runtime name: nvidia after around an hour of installing I get this. how do I run the docker version on windows 10 without a enterprise vm-exposed card?
Author
Owner

@Cohee1207 commented on GitHub (Sep 10, 2023):

I'm not sure if it's possible to use CUDA in Docker for Windows.

<!-- gh-comment-id:1712798503 --> @Cohee1207 commented on GitHub (Sep 10, 2023): I'm not sure if it's possible to use CUDA in Docker for Windows.
Author
Owner

@yggdrasil75 commented on GitHub (Sep 10, 2023):

fixed it for you. #156 works fine now it appears.

<!-- gh-comment-id:1712819947 --> @yggdrasil75 commented on GitHub (Sep 10, 2023): fixed it for you. #156 works fine now it appears.
Author
Owner

@Cohee1207 commented on GitHub (Sep 11, 2023):

I'll try to test before merging when I get a chance. Thanks.

<!-- gh-comment-id:1713319824 --> @Cohee1207 commented on GitHub (Sep 11, 2023): I'll try to test before merging when I get a chance. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#88
No description provided.