반응형
1. docker pull
docker pull pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
2. docker run
docker run -itd --gpus all --restart always --name pytorch211 pytorch/pytorch:2.1.1-cuda12.1-cudnn8-devel /bin/bash
docker run -itd --gpus all --restart always --name cvml_a1111 -v /home/cvmlserver7/Sungmin/data:/usr/src/data pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel /bin/bash
3. docker attach / docker exec
docker attach cvml_aaaa1
4. 패키지 정보 업데이트
apt-get update
5. git 설치
apt-get install git -y
6. clone and cd
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui && cd stable-diffusion-webui
https://github.com/csm-kr/stable-diffusion-webui
7.
python3.10 -m venv venv
8. run webui
./webui.sh -f
반응형
'Docker > Docker for Linux' 카테고리의 다른 글
[Linux Server] Docker 튜토리얼1 (Ubuntu server22.04.03 LTS 에서 pytorch(cuda11) 컨테이너 만들기.) (1) | 2023.08.01 |
---|
댓글