Comfy-Org / Comfy-Org/ComfyUI

[Feature request] HW compatibility tags for workflow templates and nodes

Open
#14,765 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

## Problem
Users on Apple Silicon (MPS), low-VRAM GPUs, or AMD (ROCm) routinely waste time downloading models and running workflows that can't efficiently execute on their hardware. There's no way to filter templates by supported backend.

## Solution
Add optional `supported_backends` field to:

1. Workflow templates (in Comfy Registry):
```json
{
"supported_backends": ["cuda"],
"min_vram": 12,
"recommended_vram": 24
}
```

2. Node metadata (in node definitions):
```python
SUPPORTED_BACKENDS = ["cuda", "mps", "cpu"]
```

## Frontend changes
- Filter templates by backend in Workflows → Templates
- Show compatibility badge when template requires CUDA but user runs MPS
- Node palette grays out nodes incompatible with current backend

## Related
Issue #10717 (OOM on official templates), #1305 (node-level metadata)

Contributor guide

Open the contributing guide

Research direction

Start with Comfy Registry workflow templates and node definitions, then trace the Workflows → Templates view and node palette entry points. Determine how backend and VRAM capabilities are detected for CUDA, MPS, ROCm, and CPU. Done means templates can be filtered, incompatible badges appear, and incompatible nodes are visibly marked as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.