-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (18 loc) · 837 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SHELL := /bin/bash
default:
@echo "Check targets!"
init:
python -m venv .venv
activate:
. .venv/bin/activate
freeze:
make activate && pip freeze > requirements.txt
install:
make activate && pip install --upgrade gradio && pip install -r requirements.txt
test-sd35:
make activate && python test-stable-diffusion.py
test-gradio:
make activate && python test-gradio.py
# pip install sentencepiece python-dotenv protobuf psutil accelerate transformers diffusers torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/torch_stable.html
install-base:
make activate && pip install --upgrade gradio && pip install datasets peft sentencepiece python-dotenv protobuf psutil accelerate transformers diffusers torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/torch_stable.html