Why an Unchanged ComfyUI Workflow May Produce Different Results
An analysis pinned to ComfyUI commit 5c460d81 argues that an unchanged workflow JSON does not guarantee unchanged execution conditions. The article examines how the submitted request, runtime node mappings, and model-file resolution can differ, then runs a limited Python demonstration showing that identical request bytes and filenames can refer to files with different SHA-256 hashes. It did not run ComfyUI, load real models, use a GPU, or generate video, and it did not establish that any listed change necessarily alters output.
The source-backed checks distinguish request, implementation, and file-identity differences from randomness when comparing ComfyUI workflows. The analysis also makes clear that end-to-end reproduction was not demonstrated.
工作流 JSON 没变,为什么 ComfyUI 更新后仍可能跑出不同结果?
做视频工作流时,一份 JSON、同一个 模型 文件名、同一个 seed,常被当作“昨天那次任务”的完整凭据。环境更新后画面变了,人很容易先怀疑随机数。
这里应先问一个更靠前的问题:这次请求里的节点名和模型名,仍然指向昨天的实现与文件吗? JSON 记录了引用,不会自动把引用指向的所有内容一起封存。
本文核对 ComfyUI 官方固定提交 5c460d81 的执行与加载代码,给出一个可重跑的文件哈希反例。它解释同一份请求为什么不足以证明执行条件相同;没有运行 ComfyUI、下载模型或生成视频,也不声称下面任何变化必然改变画面。