Installing InvokeAI on Ubuntu using docker for local development

अंतिम बार अद्यतन किया गया 17 Juni 2023

⚠️ This article is a draft and is not yet complete. ⚠️

Mount the hard drive:

sudo mount -t ntfs /dev/sda2 /media/brian/

TODO: mount this drive at startup

Install NVIDIA runtime

apt-get install nvidia-container-runtime

Using Ubuntu 23.04, I did the following:

distribution=ubuntu22.04
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey    | sudo apt-key add -    && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

(There is not official support for 23.04, see here: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/nvidia-docker.html#installing-on-ubuntu-and-debian)


जब भी मैं कोई नया लेख प्रकाशित करूं तो अपडेट होने के लिए मेरे न्यूजलेटर से जुड़ें।

मेरी साइट बाहर की जांच के लिए धन्यवाद!
© 2024 Brian Caffey