-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79c9991
commit 696cabb
Showing
4 changed files
with
122 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
icon: material/vector-line | ||
--- | ||
|
||
We provide a set of custom nodes for ComfyUI that allow you to easily use some of Refiners' models and utilities in your ComfyUI workflows. | ||
|
||
## Installation | ||
|
||
The nodes are published at <https://registry.comfy.org/publishers/finegrain/nodes/comfyui-refiners>. | ||
|
||
### Requirements | ||
|
||
1\. Install python (>=3.10): | ||
=== "Linux" | ||
```bash | ||
sudo apt install python3 | ||
``` | ||
=== "Windows" | ||
```powershell | ||
winget install -e --id Python.Python.3.11 | ||
``` | ||
|
||
2\. Install git: | ||
=== "Linux" | ||
```bash | ||
sudo apt install git | ||
``` | ||
=== "Windows" | ||
```powershell | ||
winget install -e --id Git.Git | ||
``` | ||
|
||
3\. (Optional) Create a python virtual environment: | ||
=== "Linux" | ||
```bash | ||
~/Documents/comfy$ python -m venv .venv | ||
~/Documents/comfy$ source .venv/bin/activate | ||
``` | ||
=== "Windows" | ||
```powershell | ||
PS C:\Users\Laurent\Documents\comfy> python -m venv .venv | ||
PS C:\Users\Laurent\Documents\comfy> .\.venv\Scripts\activate | ||
``` | ||
|
||
4\. Install [comfy-cli](https://docs.comfy.org/comfy-cli/getting-started): | ||
=== "Linux" | ||
```bash | ||
(.venv) ~/Documents/comfy$ pip install comfy-cli | ||
``` | ||
=== "Windows" | ||
```powershell | ||
(.venv) PS C:\Users\Laurent\Documents\comfy> pip install comfy-cli | ||
``` | ||
|
||
5\. Install [ComfyUI](https://github.com/comfyanonymous/ComfyUI): | ||
=== "Linux" | ||
```bash | ||
(.venv) ~/Documents/comfy$ comfy --here install | ||
``` | ||
=== "Windows" | ||
```powershell | ||
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy --here install | ||
``` | ||
|
||
### Comfy Registry (recommended) | ||
|
||
1\. Install the [comfyui-refiners](https://registry.comfy.org/publishers/finegrain/nodes/comfyui-refiners) custom nodes: | ||
=== "Linux" | ||
```bash | ||
(.venv) ~/Documents/comfy$ comfy node registry-install comfyui-refiners | ||
``` | ||
=== "Windows" | ||
```powershell | ||
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy node registry-install comfyui-refiners | ||
``` | ||
|
||
2\. Ensure that comfyui-refiners's dependencies are installed: | ||
=== "Linux" | ||
```bash | ||
(.venv) ~/Documents/comfy$ pip install -r ./ComfyUI/custom_nodes/comfyui-refiners/requirements.txt | ||
``` | ||
=== "Windows" | ||
```powershell | ||
(.venv) PS C:\Users\Laurent\Documents\comfy> pip install -r .\ComfyUI\custom_nodes\comfyui-refiners\requirements.txt | ||
``` | ||
|
||
3\. Start ComfyUI: | ||
=== "Linux" | ||
```bash | ||
(.venv) ~/Documents/comfy$ comfy launch | ||
``` | ||
=== "Windows" | ||
```powershell | ||
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy launch | ||
``` | ||
|
||
### Manually | ||
|
||
To manually install the nodes, you may alternatively do the following: | ||
|
||
1. Download an archive of the nodes by cliking the "Download Latest" button at <https://registry.comfy.org/publishers/finegrain/nodes/comfyui-refiners>, or by running the following command: | ||
```shell | ||
curl -o comfyui-refiners.zip https://storage.googleapis.com/comfy-registry/finegrain/comfyui-refiners/1.0.4/node.tar.gz | ||
``` | ||
|
||
2. Extract the archive to the `custom_nodes` directory: | ||
```shell | ||
unzip -d custom_nodes/comfyui-refiners comfyui-refiners.zip | ||
``` | ||
|
||
3. Install the nodes' dependencies: | ||
```shell | ||
pip install -r custom_nodes/comfyui-refiners/requirements.txt | ||
``` | ||
|
||
4. Remove the (now useless) downloaded archive: | ||
```shell | ||
rm comfyui-refiners.zip | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters