최근에 FLUX 모델을 새로 알게 되었다.
손, 손가락, 발, 행동에 대한 표현력이 상당히 좋아진 것 같다.
flux 모델을 배포하는 github는 아래의 링크를 참조
https://github.com/black-forest-labs/flux
GitHub - black-forest-labs/flux: Official inference repo for FLUX.1 models
Official inference repo for FLUX.1 models. Contribute to black-forest-labs/flux development by creating an account on GitHub.
github.com

먼저 blackforest의 github에서 몇가지 모델을 다운로드 받아야 한다.
https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main
black-forest-labs/FLUX.1-dev at main
You need to agree to share your contact information to access this model This repository is publicly accessible, but you have to accept the conditions to access its files and content. By clicking "Agree", you agree to the FluxDev Non-Commercial License Agr
huggingface.co
** FP16기준으로 진행하겠다.
** FP 8은 비교적 낮은 VRAM에서도 돌릴 수 있으나, 표현력이 조금 낮아진다.
FP8 버전은 따로 작성하도록 한다. && Vram이 24GB 이상 되지 않으면 CUDA가 넉다운되어버리니 주의할 것.
1)
./model/unet ->에 위치 시킬 Model

2)
./model/vae 에 위치 시킬 vae 파일

3)
https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main
comfyanonymous/flux_text_encoders at main
huggingface.co
./model/clip 에 위치시킬 파일

** t5xxl_fp16.safetensor & clip_i.safetensor파일을 다운받는다.
t5xxl_fp8.safetensor은 FP8 모델을 사용할 때만 사용하도록 한다.
** FLUX의 기본적인 노드 구성은 아래와 같음.

'Hobby' 카테고리의 다른 글
챗봇생성기 SimChat 1.0 배포 개시 (0) | 2024.11.04 |
---|---|
SimChat + RAG(OPENAI Embedding + Retrieve) (1) | 2024.10.14 |
(잡담) 나를 포함한 모든 통풍 환자들에게... (1) | 2024.07.19 |
챗봇 메신져 제작기 24.07.15 (7) | 2024.07.16 |
[챗봇] - 헬다이버즈2 관련 챗봇 제작중 (LLM 아님) (2) | 2024.04.26 |