Peyton DeNiro
f9163f2375
Add generated runtime cleanup after workflow execution. Exported scripts now run best-effort ComfyUI cache cleanup in a finally block and support opt-in model unloading for embedded repeated-call use cases. Document the supported VRAM-related runtime flags and lock the behavior in focused exporter and runtime cleanup tests.
2026-03-29 18:18:37 -05:00
Peyton DeNiro
42d0526661
Fix generated workflow torch import order
...
Move generated torch imports until after add_extra_model_paths runs so exported scripts do not trigger ComfyUI's early-torch warning during startup. Update export assertions and checked-in runtime generated fixtures to match the new main() ordering.
2026-03-29 15:15:52 -05:00
Peyton DeNiro
441dcfebdf
Defer generated ComfyUI bootstrap until execution
2026-03-29 14:40:17 -05:00
Peyton DeNiro
1630a1ab79
Strengthen test suite robustness
2026-03-29 14:08:18 -05:00
Peyton DeNiro
4370a78728
Fix exporter metadata kwarg and seed sync handling
2026-03-28 17:27:03 -05:00
Peyton DeNiro
494f7cf79a
Remove CLI frontend workflow metadata path
2026-03-28 17:07:59 -05:00
Peyton DeNiro
342e1b8749
Fix workflow metadata and subgraph export names
2026-03-28 16:58:47 -05:00
Peyton DeNiro
d87611c035
Fix runtime validation entrypoint and export test
2026-03-28 16:33:11 -05:00
Peyton DeNiro
a97311dabe
Add CLI support for frontend workflow metadata
2026-03-28 13:58:56 -05:00
Peyton DeNiro
1fa2db89e1
Preserve reimportable ComfyUI workflow metadata
2026-03-28 13:42:44 -05:00
Peyton DeNiro
77b98ad5e1
Fix upscale model loader export bootstrap
2026-03-28 13:08:34 -05:00