Upload 10 files
Browse files- HZ/reForge-portable/README.md +51 -0
- HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2186-portable-pythonembeddable-minimum.7z +3 -0
- HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2186-portable-winpython-minimum.7z +3 -0
- HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2189-portable-pythonembeddable-minimum.7z +3 -0
- HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2189-portable-winpython-minimum.7z +3 -0
- HZ/reForge-portable/runscripts/environment.bat +10 -0
- HZ/reForge-portable/runscripts/run.bat +6 -0
- HZ/reForge-portable/runscripts/update.bat +12 -0
- HZ/reForge-portable/stepbystep-pythonportable.md +72 -0
- HZ/reForge-portable/stepbystep-winpython.md +64 -0
HZ/reForge-portable/README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: unknown
|
3 |
+
---
|
4 |
+
|
5 |
+

|
6 |
+
|
7 |
+
# ⭐ reForge portable version ⭐
|
8 |
+
Updated 05th May 2025 with latest reForge version and current pyTorch & CUDA release.
|
9 |
+
This works with Nvidia RTX 5xxx (Blackwell).
|
10 |
+
Reuploaded everything as standard ZIP file cause the 7zip ultra compression didn't work for everyone.
|
11 |
+
|
12 |
+
[reForge](https://github.com/Panchovix/stable-diffusion-webui-reForge) not being available as a portable version I wanted to see
|
13 |
+
if I could build one, especially as [Forge](https://github.com/lllyasviel/stable-diffusion-webui-forge) and [ComfyUI](https://github.com/comfyanonymous/ComfyUI) have
|
14 |
+
had one available for quite some time, so I spent some time to figure out how the Forge portable version works, and after a bit of trial and error I recreated a reForge version from scratch.
|
15 |
+
|
16 |
+
**This version is not supported or endorsed by Panchovix!**
|
17 |
+
|
18 |
+
***
|
19 |
+
### ⭐TL;DR ⭐
|
20 |
+
Download the full pack which contains everything besides a model (will automatically download noobaiXL on first run)
|
21 |
+
|
22 |
+
➡️➡️ [Full pack](https://huggingface.co/datasets/Xeno443/reForge-portable/resolve/main/download/reforge-f1.7.0-v1.10.1RC-latest-2189-portable-pythonembeddable-torch270-cuda128-addons.zip) ⬅️⬅️
|
23 |
+
|
24 |
+
⚠️**Use the "run.bat" to start!** You can still edit webui-user.bat for commandline args etc., but start with the run.bat to make sure the portable environment is set up.
|
25 |
+
|
26 |
+
***
|
27 |
+
### ⭐ All Downloads ⭐
|
28 |
+
I have uploaded three different versions:
|
29 |
+
- minimal: only has the portable git, python and the naked clone of the reForge repository and will download everything on first run.
|
30 |
+
- torch: was run once and has all the python dependencies installed. I also configured SDXL compatible defaults.
|
31 |
+
- torch&addons: as above, plus I installed some popular extensions (tag autocomplete, forge couple, dynamic prompts, LoraCTL, regional prompter, adetailer)
|
32 |
+
|
33 |
+
All versions are cloned from the master branch and contain reForge version `f1.7.0-v1.10.1RC-latest-2189`.
|
34 |
+
|
35 |
+
The 7z version seem to require the newest version of 7-Zip to decompress so if you don't have that, use the ZIP versions.
|
36 |
+
|
37 |
+
➡️ [Download](https://huggingface.co/datasets/Xeno443/reForge-portable/tree/main/download)
|
38 |
+
|
39 |
+
You should of course not simply trust a random stranger on the internet about anything, so if you don't want to use the prebuild packackes I also have documented step by step how I created these
|
40 |
+
***
|
41 |
+
### Step by step for the official embeddable zip version
|
42 |
+
[stepbystep-pythonportable.md](stepbystep-pythonportable.md)
|
43 |
+
This version uses the official "Windows embeddable package (64-bit)" package. This seems to be a very minimal python version. I have no experience if this will be enough for each and every possible
|
44 |
+
extension of plugin that is available out there.
|
45 |
+
***
|
46 |
+
### Step by step for the WinPython portable version
|
47 |
+
[stepbystep-winpython.md](stepbystep-winpython.md)
|
48 |
+
Same process as the previous one, but this uses the third-party WinPython portable which I saw recommended at various places. It looks like it comes with a few more modules, libs and tools,
|
49 |
+
so maybe it is more useful for installing additional components.
|
50 |
+
***
|
51 |
+
|
HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2186-portable-pythonembeddable-minimum.7z
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc3bfc8da802bc5b77ab9a85bfad800bee94de62814d8c55ca7d5498f861f64e
|
3 |
+
size 81973123
|
HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2186-portable-winpython-minimum.7z
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa0f3c6c70e3fac09896f5af5aab6565b7d29a4802cafd38a0be8f44b7cf84a0
|
3 |
+
size 89313447
|
HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2189-portable-pythonembeddable-minimum.7z
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:382b1db80ab50a5553dc3fa535d857c2a0b60f2a387f907f104ee4dcb3f5b764
|
3 |
+
size 81973393
|
HZ/reForge-portable/download/reforge-f1.7.0-v1.10.1RC-latest-2189-portable-winpython-minimum.7z
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98b29ff0790c5b458d0ebd0ca5a87f96936e2ef413bb7187dca54f0cd80fe74c
|
3 |
+
size 89318708
|
HZ/reForge-portable/runscripts/environment.bat
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
|
3 |
+
set DIR=%~dp0system
|
4 |
+
|
5 |
+
set PATH=%DIR%\git\bin;%DIR%\python;%DIR%\python\Scripts;%PATH%
|
6 |
+
set PY_LIBS=%DIR%\python\Scripts\Lib;%DIR%\python\Scripts\Lib\site-packages
|
7 |
+
set PY_PIP=%DIR%\python\Scripts
|
8 |
+
set SKIP_VENV=1
|
9 |
+
set PIP_INSTALLER_LOCATION=%DIR%\python\get-pip.py
|
10 |
+
set TRANSFORMERS_CACHE=%DIR%\transformers-cache
|
HZ/reForge-portable/runscripts/run.bat
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
|
3 |
+
call environment.bat
|
4 |
+
|
5 |
+
cd %~dp0webui
|
6 |
+
call webui-user.bat
|
HZ/reForge-portable/runscripts/update.bat
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
|
3 |
+
call environment.bat
|
4 |
+
|
5 |
+
git -C "%~dp0webui" pull 2>NUL
|
6 |
+
if %ERRORLEVEL% == 0 goto :done
|
7 |
+
|
8 |
+
git -C "%~dp0webui" reset --hard
|
9 |
+
git -C "%~dp0webui" pull
|
10 |
+
|
11 |
+
:done
|
12 |
+
pause
|
HZ/reForge-portable/stepbystep-pythonportable.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# reforgePortable
|
2 |
+
Experimenting to build a portable version of stable-diffusion-webui-reForge
|
3 |
+
This version uses the official Python embeddable package which seems to be pretty barebone and showed some issue with
|
4 |
+
some files not being in the directory that the UI requirements setup process expected them to be, so make sure to move
|
5 |
+
then appropriately!
|
6 |
+
|
7 |
+
***
|
8 |
+
## Prerequisites
|
9 |
+
Microsoft Visual C++ 2015 Redistributable
|
10 |
+
https://www.microsoft.com/en-us/download/details.aspx?id=48145
|
11 |
+
Microsoft Visual C++ 2015-2022 Redistributable
|
12 |
+
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
|
13 |
+
|
14 |
+
***
|
15 |
+
## Prepare folders
|
16 |
+
1) Create folder C:\SD\reforge-portable
|
17 |
+
2) Create subfolder C:\SD\reforge-portable\system
|
18 |
+
3) Create subfolder C:\SD\reforge-portable\system\git
|
19 |
+
4) Create subfolder C:\SD\reforge-portable\system\python
|
20 |
+
|
21 |
+

|
22 |
+
|
23 |
+
***
|
24 |
+
## Install Git portable
|
25 |
+
Browse to https://git-scm.com/downloads/win and download "64-bit Git for Windows Portable"
|
26 |
+

|
27 |
+
|
28 |
+
Execute downloaded exe file and extract to C:\SD\reforge-portable\system\git
|
29 |
+

|
30 |
+
|
31 |
+
***
|
32 |
+
## Install Python embeddable package
|
33 |
+
Browse to https://www.python.org/downloads/release/python-31011/ and download "Windows embeddable package (64-bit)"
|
34 |
+

|
35 |
+
|
36 |
+
Extract downloaded zip file to C:\SD\reforge-portable\system\python
|
37 |
+

|
38 |
+
|
39 |
+
Create subfolder C:\SD\reforge-portable\system\python\DLLs and move the following files from the python directory into this folder
|
40 |
+

|
41 |
+
|
42 |
+
Delete the file "python310._pth" from the C:\SD\reforge-portable\system\python directory
|
43 |
+

|
44 |
+
|
45 |
+
***
|
46 |
+
## Install get-pip.py script
|
47 |
+
Browse to https://bootstrap.pypa.io/ (Github: https://github.com/pypa/get-pip) and download [get-pip.py](https://bootstrap.pypa.io/get-pip.py) into C:\SD\reforge-portable\system\python
|
48 |
+

|
49 |
+
|
50 |
+
***
|
51 |
+
## Get run scripts
|
52 |
+
- Either download the full [Forge portable zip](https://github.com/lllyasviel/stable-diffusion-webui-forge?tab=readme-ov-file#installing-forge)
|
53 |
+
and extract only the 3 bat files from the root
|
54 |
+
- or download them from my HF space here [/runscipts/](https://huggingface.co/datasets/Xeno443/reForge-portable/tree/main/runscripts)
|
55 |
+
|
56 |
+
Copy these three files into C:\SD\reforge-portable
|
57 |
+

|
58 |
+
|
59 |
+
***
|
60 |
+
## Git clone reForge
|
61 |
+
Open cmd.exe in C:\SD\reforge-portable.
|
62 |
+
1) Run environment.bat
|
63 |
+
2) Run `git clone https://github.com/Panchovix/stable-diffusion-webui-reForge webui`
|
64 |
+
|
65 |
+

|
66 |
+
|
67 |
+
***
|
68 |
+
## First-run
|
69 |
+
Run `run.bat`. This should now start the normal reForge requirements installations which may take quite a while
|
70 |
+

|
71 |
+
|
72 |
+
If everything goes well the webUI page will open after everything is complete.
|
HZ/reForge-portable/stepbystep-winpython.md
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# reforgePortable
|
2 |
+
Experimenting to build a portable version of stable-diffusion-webui-reForge
|
3 |
+
This version uses the third-party WinPython portable version, which is recommended at various places and includes more stuff than the official
|
4 |
+
portable version. Maybe this provides more tools for installing additional extensions, and it has a negligibly larger footprint than the
|
5 |
+
official version. There is an even larger WinPython version, but I don't know what the differences are so we will go with the smaller one.
|
6 |
+
|
7 |
+
***
|
8 |
+
## Prerequisites
|
9 |
+
Microsoft Visual C++ 2015 Redistributable
|
10 |
+
https://www.microsoft.com/en-us/download/details.aspx?id=48145
|
11 |
+
Microsoft Visual C++ 2015-2022 Redistributable
|
12 |
+
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
|
13 |
+
|
14 |
+
***
|
15 |
+
## Prepare folders
|
16 |
+
1) Create folder C:\SD\reforge-portable
|
17 |
+
2) Create subfolder C:\SD\reforge-portable\system
|
18 |
+
3) Create subfolder C:\SD\reforge-portable\system\git
|
19 |
+
4) Create subfolder C:\SD\reforge-portable\system\python
|
20 |
+
|
21 |
+

|
22 |
+
|
23 |
+
***
|
24 |
+
## Install Git portable
|
25 |
+
Browse to https://git-scm.com/downloads/win and download "64-bit Git for Windows Portable"
|
26 |
+

|
27 |
+
|
28 |
+
Execute downloaded exe file and extract to C:\SD\reforge-portable\system\git
|
29 |
+

|
30 |
+
|
31 |
+
***
|
32 |
+
## Install WinPython
|
33 |
+
Browse to https://github.com/winpython/winpython/releases/tag/6.1.20230527 and download "Winpython64-3.10.11.1dot.exe"
|
34 |
+

|
35 |
+
|
36 |
+
Run the downloaded executable and extract to a temporary directory. Select all files from "winpython\WPy64-310111\python-3.10.11.amd64"
|
37 |
+

|
38 |
+
|
39 |
+
and copy them to "C:\SD\reforge-portable\system\python"
|
40 |
+

|
41 |
+
|
42 |
+
***
|
43 |
+
## Get run scripts
|
44 |
+
- Either download the full [Forge portable zip](https://github.com/lllyasviel/stable-diffusion-webui-forge?tab=readme-ov-file#installing-forge)
|
45 |
+
and extract only the 3 bat files from the root
|
46 |
+
- or download them from my HF space here [/runscipts/](https://huggingface.co/datasets/Xeno443/reForge-portable/tree/main/runscripts)
|
47 |
+
|
48 |
+
Copy these three files into C:\SD\reforge-portable
|
49 |
+

|
50 |
+
|
51 |
+
***
|
52 |
+
## Git clone reForge
|
53 |
+
Open cmd.exe in C:\SD\reforge-portable.
|
54 |
+
1) Run environment.bat
|
55 |
+
2) Run `git clone https://github.com/Panchovix/stable-diffusion-webui-reForge webui`
|
56 |
+
|
57 |
+

|
58 |
+
|
59 |
+
***
|
60 |
+
## First-run
|
61 |
+
Run `run.bat`. This should now start the normal reForge requirements installations which may take quite a while
|
62 |
+

|
63 |
+
|
64 |
+
If everything goes well the webUI page will open after everything is complete.
|