Running on TrueNAS #397
Replies: 2 comments 1 reply
-
If I am not mistaken, the A quick search lead me to this: this repo was not built with k8s in mind, although maybe having |
Beta Was this translation helpful? Give feedback.
-
Turns out that gradio hack did become relevant, gradio doesn't like symlinks apparently and it seems that was intended to workaround that issue. I've added it back in, it seems the correct location with these changes is: sed -i 's/in_app_dir = .*/in_app_dir = True/g' /usr/local/lib/python3.10/dist-packages/gradio/routes.py |
Beta Was this translation helpful? Give feedback.
-
I've spent most of today trying to get some form of the stable-diffusion-webui up and running on TrueNAS. To no avail, since TrueNAS apps use k8s not docker compose.
I was able to clone this, build the images, upload them to dockerhub and replicate the docker-compose config using a Truecharts custom-app. However it seems the
nvidia-container-toolkit
is not installed in the container.FROM python:3.10.9-slim
I made the following changes and was able to get it up and running, this is likely the same issue others are pointing out relating to not being able to find their GPU.
I did remove the gradio hack, since it doesn't work on the new image at that location and doesn't matter for my use case.
Beta Was this translation helpful? Give feedback.
All reactions