-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 759 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 759 Bytes
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
27
28
29
30
.PHONY: setup clean
# Directory paths
KERNEL_DIR = inferno/kernels/ltx_video
REPO_URL = https://github.com/KONAKONA666/q8_kernels
setup:
@echo "Creating directories if they don't exist..."
mkdir -p $(KERNEL_DIR)
@echo "Cloning repository..."
git clone $(REPO_URL) $(KERNEL_DIR)/q8_kernels
@echo "Initializing and updating submodules..."
cd $(KERNEL_DIR)/q8_kernels && \
git submodule init && \
git submodule update
@echo "Installing package and dependencies..."
cd $(KERNEL_DIR)/q8_kernels && \
python setup.py install && \
pip install . && \
pip install transformers diffusers sentencepiece imageio einops
@echo "Setup complete!"
clean:
@echo "Cleaning up installation..."
rm -rf $(KERNEL_DIR)/q8_kernels
@echo "Cleanup complete!"