Skip to content

Commit

Permalink
Add custom node install instructons (#121)
Browse files Browse the repository at this point in the history
* add custom nodes and installation steps

* fix image description

* fix broken links

* remove note

* Update available nodes page with installation steps and sample workflows

* fix broken links

* fix heading
  • Loading branch information
eliteprox authored Jan 10, 2025
1 parent f173167 commit 01926b0
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 295 deletions.
13 changes: 7 additions & 6 deletions apps/docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,26 @@
"pages": [
"technical/develop-pipeline/create-your-first-pipeline",
"technical/develop-pipeline/local-testing",
"technical/reference/local-testing-comfystream-ui"
"technical/reference/local-testing-comfystream-ui",
"technical/develop-pipeline/add-sd-loras"
]
},
{
"group": "Custom Nodes",
"pages": [
"technical/reference/available-nodes",
"technical/develop-pipeline/add-sd-loras",
"technical/reference/custom-node-installation"
"technical/reference/available-nodes",
"technical/reference/custom-node-installation",
"technical/reference/performance-recommendations"
]
},
{
"group": "Reference",
"group": "Reference",
"pages": ["knowledge-base/reference/pricing"]
},
{
"group": "Reference",
"pages": [
"technical/reference/performance-recommendations",

"technical/reference/develop-runpod",
"technical/reference/tunneling-with-ssh"
]
Expand Down
76 changes: 31 additions & 45 deletions apps/docs/technical/develop-pipeline/local-testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,18 @@ We will use the [ComfyStream_Setup_Scripts](https://github.com/ryanontheinside/C

## Start ComfyUI
Start a new terminal and activate the `comfyui` conda environment:
<Tabs>
<Tab title="RunPod (Linux)">
```bash
conda activate comfyui
cd /workspace/comfyRealtime/ComfyUI
python main.py --listen
```
</Tab>

<Tab title="Local (Windows)">
```bash
conda activate comfyui
cd "$env:HOMEPATH/comfyRealtime/ComfyUI"
python main.py --listen
```
</Tab>
</Tabs>
<CodeGroup>
```bash RunPod (Linux)
conda activate comfyui
cd /workspace/comfyRealtime/ComfyUI
python main.py --listen
```
```bash Local (Windows)
conda activate comfyui
cd "$env:HOMEPATH/comfyRealtime/ComfyUI"
python main.py --listen
```
</CodeGroup>

<Info>
It is normal to see logs for the tensorrt nodes failing to import, as they are only compatible with ComfyStream. Your list of nodes might vary.
Expand All @@ -109,11 +104,11 @@ Import times for custom nodes:
0.5 seconds: /ComfyUI/custom_nodes/ComfyUI_RyanOnTheInside
```

3. Access ComfyUI from the web interface on port 8188:
Access ComfyUI from the web interface on port 8188:
<Tabs>
<Tab title="RunPod (Linux)">
From RunPod, click **Connect**, then click **Connect to HTTP Service [Port 8188]** to access ComfyUI:
![Open Jupyter Lab](../../images/jupyter.png)
![Connect to HTTP Service](../../images/jupyter.png)

</Tab>

Expand All @@ -129,19 +124,14 @@ Import times for custom nodes:
conda activate comfystream
```
2. Change to the ComfyStream directory
<Tabs>
<Tab title="RunPod (Linux)">
```bash
cd /workspace/comfyRealtime/ComfyStream
```
</Tab>

<Tab title="Local (Windows)">
```bash
cd "$env:HOMEPATH/comfyRealtime/ComfyUI"
```
</Tab>
</Tabs>
<CodeGroup>
```bash RunPod (Linux)
cd /workspace/comfyRealtime/ComfyStream
```
```bash Local (Windows)
cd "$env:HOMEPATH/comfyRealtime/ComfyUI"
```
</CodeGroup>

3. Start ComfyStream
```bash
Expand All @@ -165,16 +155,12 @@ conda remove --name comfystream --all
conda remove --name comfyui --all
```
Finally, run the setup script again to recreate the conda environments:
<Tabs>
<Tab title="RunPod (Linux)">
```bash
bash ./ComfyStream_Setup_Scripts/runpod/initial_setup.sh
```
</Tab>
<Tab title="Local (Windows)">
```bash (admin)
cd "$env:HOMEPATH"
& "$env:HOMEPATH/ComfyStream_Setup_Scripts/local/setup_comfystream.ps1"
```
</Tab>
</Tabs>
<CodeGroup>
```bash RunPod (Linux)
bash ./ComfyStream_Setup_Scripts/runpod/initial_setup.sh
```
```bash Local (Windows)
cd "$env:HOMEPATH"
& "$env:HOMEPATH/ComfyStream_Setup_Scripts/local/setup_comfystream.ps1"
```
</CodeGroup>
Loading

0 comments on commit 01926b0

Please sign in to comment.