본문 바로가기
a1111분석

a1111 sdxl1.0 적용하기

by pulluper 2023. 9. 2.
반응형

안녕하세요. 

 

1. civitai 가서 sdxl을 찾습니다. 

https://civitai.com/

 

Civitai | Stable Diffusion models, embeddings, LoRAs and more

Civitai is a platform for Stable Diffusion AI Art models. Browse a collection of thousands of models from a growing number of creators. Join an engaged community in reviewing models and sharing images with prompts to get you started.

civitai.com

 

2. 그중에서 sdxl 을 가서 링크 주소 복사

 

3. wget 으로 다운로드 (ubuntu)

 

뒤에 --content-disposition은 제공되는 파일명으로 다운로드 하기위함

 

wget 제공되는 파일명으로 다운로드 - 제타위키

다음 문자열 포함...

zetawiki.com

 

 

wget "https://civitai.com/api/download/models/128078" --content-disposition

 

 

4. a1111 을 git에서 받기! 

 

https://github.com/AUTOMATIC1111/stable-diffusion-webui

 

GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI

Stable Diffusion web UI. Contribute to AUTOMATIC1111/stable-diffusion-webui development by creating an account on GitHub.

github.com

 

도커를 이용하실 분들은 다음 블로그 참조

https://csm-kr.tistory.com/105

 

[Docker] window docker 환경에서 a1111 실행해 보기

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 cvml_a1111 -v /mnt/d/data:/usr/src/data pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel /bin/bash 3. docker attach docker at

csm-kr.tistory.com

https://csm-kr.tistory.com/109

 

[Docker] Linux docker 환경에서 a1111 실행해 보기

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 cvml_a1111 -v /home/cvmlserver7/Sungmin/data:/usr/src/data pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel /bin/bash 3. dock

csm-kr.tistory.com

 

5. /models/Stable-diffusion 안에 wget으로 받은 .safetensor 파일을 넣어준다.  

이후에 reload

완성

반응형

댓글