/WinterPear-3000

A crude personal tweaked version of Stella2211/DeepFloyd_IF_VRAM12GB.py

Primary LanguagePythonOtherNOASSERTION

얘! 겨울 배가 맛있단다. 배가 달아.

WinterPear-3000

겨울배-3000은 DeepFloyd IF을 12GB VRAM으로 돌릴 수 있는 Stella2211/DeepFloyd_IF_VRAM12GB.py의 조잡한 GUI 개조 버전 입니다.

How to

  • huggingface 저장소 접근 설명이 정확하지 않을 수 있습니다.
  • 최소 12GB VRAM을 가진 엔비디아 RTX 또는 그와 동등한 엔비디아 그래픽카드가 필요합니다.

install (Windows 10/11)

  1. install git, Python 3.10, CUDA Toolkit 11.7
  2. Register git, Python 3.10, and CUDA Toolkit 11.7 in PATH.
  3. You must not have any other version of CUDA Toolkit in your PATH.
  4. Enter the commands below line by line.
git clone https://github.com/ccvv804/WinterPear-3000
cd WinterPear-3000
python -m venv venv
.\venv\Scripts\activate
pip install deepfloyd_if==1.0.2rc0
pip install xformers
pip install git+https://github.com/openai/CLIP.git --no-deps
pip install --upgrade diffusers~=0.16 transformers~=4.28 safetensors~=0.3 sentencepiece~=0.1 accelerate~=0.18
pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
pip install https://github.com/acpopescu/bitsandbytes/releases/download/v0.38.0-win0/bitsandbytes-0.38.1-py3-none-any.whl
pip install huggingface_hub
python
from huggingface_hub import login
login()
  1. Enter the hugging face token to access the DeepFloyd IF storage and save it.
  2. Enter the commands below line by line.
exit()

run (Windows 10/11)

  1. Enter the Python virtual environment (venv). Pass if already venv.
.\venv\Scripts\activate
  1. Start the Python program. This program is a GUI.
python winterpear-3000.py

install (Ubuntu 22.04)

  1. You must have Nvidia drivers installed.
  2. Enter the commands below line by line.
git clone https://github.com/ccvv804/WinterPear-3000
cd WinterPear-3000
python3 -m venv venv
source ./venv/bin/activate
pip3 install deepfloyd_if==1.0.2rc0
pip3 install xformers
pip3 install git+https://github.com/openai/CLIP.git --no-deps
pip3 install --upgrade diffusers transformers safetensors sentencepiece accelerate
pip3 install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip3 install bitsandbytes
pip3 install huggingface_hub
pip3 install scipy 
python3
from huggingface_hub import login
login()
  1. Enter the hugging face token to access the DeepFloyd IF storage and save it.
  2. Enter the commands below line by line.
exit()

run (Ubuntu 22.04)

  1. Enter the Python virtual environment (venv). Pass if already venv.
source ./venv/bin/activate
  1. Start the Python program. This program is a GUI.
python3 winterpear-3000.py