Comfy-Org / Comfy-Org/ComfyUI

Custom Node Process Isolation

Open
#8,600 2 comments 5 reactions 1 assignee Claimed by @guill View on GitHub
v3
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

## Background
Custom nodes often have Python dependency issues when being installed in the same environment. Our current solution is to offer a way to install custom nodes into other python environments, and be able to run different custom nodes in different python processes.

## In Scope

- Add ability to run custom nodes in separate isolated processes
- Create a virtual environment for each node pack (using `uv`)
- Goal: 50% of custom node packs (by usage) should be able to run in an isolated process for initial launch.
- ‘Repair’ that simply deletes a node environment and recreates it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.