kitchen and panel_kitchen
comfy-kitchen is ComfyUI’s kernel library — fp8 / NVFP4 / MXFP8 / INT8 quantized tensors and GEMMs, fused RoPE and AdaLN, and its own INT8 attention, withhip / cuda / triton / eager backends. It is not a workflow library.
Two tools share the same actions:
kitchen{ action: "status" | "assess" | "apply" }— MCP clients.assesstakes a workflow JSON.panel_kitchen— the same actions against the live canvas, fenced like every other panel mutation.
status — what this GPU can run
status reports:
Local vs remote.
--comfyui-url / Comfy Cloud gets log + /system_stats only. The import probe and model.quant stay unknown there; the tool says so rather than guessing from the filename.
assess — four recommendations
assess walks UNETLoaders. Each rec is a conjunction:
MXFP8, SVDQuant, and AWQ appear in
status but are not recommended until a loader path in ComfyUI exposes them.
apply — change, then prove or revert
- Widget recs (
fp8_unet_fast,nvfp4_swap) do not needconfirm.kitchenmutates the supplied workflow JSON.panel_kitchenwrites throughgraph_set_widget(Ctrl+Z). - Flag recs need
confirm: true.restart_comfyui/panel_restart_comfyuireplay the previous argv and do not inject a new flag. Apply names the flag and tells you to add it to the launch line, then restart. That is not a new restart path. - Proof.
panel_kitchen applyqueues apanel_runon the current seed after a widget change. The report shape iss/it A → B, peak VRAM C → D GB, output non-black, N widget changed, M flags changed. A black or NaN after-run, or a slower after-run, reverts the widget.kitchen applywithout a runner reportsproof.status: "not_run"rather than claiming a bench it did not run. - Pass
skip_proof: trueonpanel_kitchento apply without queueing a run.
Proactive hint
Once per process, when kitchen is present and rec 1 or rec 2 is certain,status / assess includes one sentence naming the gap and the tool. Nothing runs unasked.
Flags this tool can name
--use-ck-attention, --enable-triton-backend, --disable-triton-backend, --fast fp8_matrix_mult, --fast cublas_ops. On master these are ComfyUI flags. --enable-triton-backend is not SwarmUI-only.