forked from lllyasviel/FramePack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindows_Install.bat
More file actions
61 lines (37 loc) · 1.83 KB
/
Windows_Install.bat
File metadata and controls
61 lines (37 loc) · 1.83 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@echo off
echo WARNING. For this auto installer to work you need to have installed Python 3.10.x, Git, FFmpeg, cuDNN 8.9 and 9.4+, CUDA 12.4+ and C++ tools
echo This tutorial shows all step by step : https://youtu.be/-NjNy7afOQ0
git clone https://github.com/FurkanGozukara/FramePack
cd FramePack
git remote set-url origin https://github.com/FurkanGozukara/FramePack
git pull
py --version >nul 2>&1
if "%ERRORLEVEL%" == "0" (
echo Python launcher is available. Generating Python 3.10 VENV
py -3.10 -m venv venv
) else (
echo Python launcher is not available, generating VENV with default Python. Make sure that it is 3.10
python -m venv venv
)
call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
pip install --pre torch==2.7.0.dev20250311 torchvision==0.22.0.dev20250312+cu128 torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
pip install https://huggingface.co/MonsterMMORPG/SECourses_Premium_Flash_Attention/resolve/main/flash_attn-2.7.4.post1-cp310-cp310-win_amd64.whl
pip install https://files.pythonhosted.org/packages/3d/65/1a6394f5d6dee851e9ea59e385f6d6428e3bfe36f83c06e0336e14dcfd11/deepspeed-0.16.4-cp310-cp310-win_amd64.whl
pip install https://github.com/woct0rdho/SageAttention/releases/download/v2.1.1-windows/sageattention-2.1.1+cu128torch2.7.0-cp310-cp310-win_amd64.whl
pip install -U --pre triton-windows
pip install torchao
pip install -r requirements.txt
pip install huggingface_hub ipywidgets hf_transfer
git clone https://github.com/FurkanGozukara/Practical-RIFE
cd Practical-RIFE
git pull
pip install -r requirements.txt
cd ..
cd ..
python Download_RIFE.py
REM python Download_Models.py
REM Show completion message
echo FramePack installed check out all messages and save them before close to verify any errors or not later
REM Pause to keep the command prompt open
pause