mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-kitchen#188
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-kitchen/pull/160
Author: @PozzettiAndrea
Created: 9/6/2026
Status: 🔄 Open
Base:
main← Head:k1-drop-dynamo-import📝 Commits (1)
c7adcc8Remove the torch._dynamo import, dead since #3 removed its only user📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
comfy_kitchen/tensor/base.py(+0 -1)📄 Description
That is the only reference left in the package. The
@torch._dynamo.disable()decorator that needed it went away in #3 (
06651e3)._dynamois in torch's_lazy_modules, sotorch.compileand thetorch._disable_dynamowrapper still import it themselves on first use, and compiledand exported results are bit identical with and without the line on torch 2.8 and
2.11. Dropping it takes
import comfy_kitchenfrom 1981 loaded modules to 1179 ontorch 2.8, for every process that imports the package without running a kernel.
ruff check .clean.pytest tests/on CPU: 616 passed, same single pre-existingtorch 2.8 failure as unmodified main.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.