Commit Graph

  • adea2beb5c Add edm option to ModelSamplingContinuousEDM for Cosmos. comfyanonymous 2025-01-11 02:18:42 -05:00
  • e88c6c03ff Fix cond_cat to not try to cast anything that doesn't have a 'to' function Jedrzej Kosinski 2025-01-10 23:05:24 -06:00
  • d3cf2b7b24 Merge branch 'comfyanonymous:master' into multigpu_support Jedrzej Kosinski 2025-01-10 20:24:37 -06:00
  • 2ff3104f70 WIP support for Nvidia Cosmos 7B and 14B text to world (video) models. comfyanonymous 2025-01-10 09:11:57 -05:00
  • 129d8908f7 Add argument to skip the output reshaping in the attention functions. comfyanonymous 2025-01-10 06:27:37 -05:00
  • ff838657fa Cleaner handling of attention mask in ltxv model code. comfyanonymous 2025-01-09 07:12:03 -05:00
  • 2307ff6746 Improve some logging messages. comfyanonymous 2025-01-08 19:05:22 -05:00
  • 7448f02b7c Initial proof of concept of giving splitting cond sampling between multiple GPUs Jedrzej Kosinski 2025-01-08 03:33:05 -06:00
  • 871258aa72 Add get_all_torch_devices to get detected devices intended for current torch hardware device Jedrzej Kosinski 2025-01-07 21:06:03 -06:00
  • 66838ebd39 Merge branch 'comfyanonymous:master' into multigpu_support Jedrzej Kosinski 2025-01-07 20:11:27 -06:00
  • d0f3752e33 Properly calculate inner dim for t5 model. comfyanonymous 2025-01-07 17:32:29 -05:00
  • c515bdf371 fixed: robust loading comfy.settings.json (#6383) Dr.Lt.Data 2025-01-08 06:03:56 +09:00
  • 7333281698 Clean up a typehint Jedrzej Kosinski 2025-01-07 02:58:59 -06:00
  • 3cd4c5cb0a Rename AddModelsHooks to AdditionalModelsHook, rename SetInjectionsHook to InjectionsHook (not yet implemented, but at least getting the naming figured out) Jedrzej Kosinski 2025-01-07 02:22:49 -06:00
  • 4209edf48d Make a few more samplers deterministic. comfyanonymous 2025-01-07 02:12:12 -05:00
  • 11c6d56037 Merge branch 'master' into hooks_part2 Jedrzej Kosinski 2025-01-07 01:01:53 -06:00
  • 216fea15ee Made TransformerOptionsHook contribute to registered hooks properly, added some doc strings and removed a so-far unused variable Jedrzej Kosinski 2025-01-07 00:59:18 -06:00
  • 58bf8815c8 Add a get_injections function to ModelPatcher Jedrzej Kosinski 2025-01-06 20:34:30 -06:00
  • d055325783 Document get_attr and get_model_object (#6357) Chenlei Hu 2025-01-06 20:12:22 -05:00
  • eeab420c70 Update frontend to v1.6.18 (#6368) Chenlei Hu 2025-01-06 18:42:45 -05:00
  • 1b38f5bf57 removed 4 whitespace lines to satisfy Ruff, Jedrzej Kosinski 2025-01-06 17:11:12 -06:00
  • 2724ac4a60 Merge branch 'master' into hooks_part2 Jedrzej Kosinski 2025-01-06 17:04:24 -06:00
  • f48f90e471 Make hook_scope functional for TransformerOptionsHook Jedrzej Kosinski 2025-01-06 02:23:04 -06:00
  • 916d1e14a9 Make ancestral samplers more deterministic. comfyanonymous 2025-01-06 03:01:04 -05:00
  • 6463c39ce0 Merge branch 'master' into hooks_part2 Jedrzej Kosinski 2025-01-06 01:28:26 -06:00
  • 0a7e2ae787 Filter only registered hooks on self.conds in CFGGuider.sample Jedrzej Kosinski 2025-01-06 01:04:29 -06:00
  • 03a97b604a Fix performance of hooks when hooks are appended via Cond Pair Set Props nodes by properly caching between positive and negative conds, make hook_patches_backup behave as intended (in the case that something pre-registers WeightHooks on the ModelPatcher instead of registering it at sample time) Jedrzej Kosinski 2025-01-06 01:03:59 -06:00
  • c496e53519 In inner_sample, change "sigmas" to "sampler_sigmas" in transformer_options to not conflict with the "sigmas" that will overwrite "sigmas" in _calc_cond_batch (#6360) Jedrzej Kosinski 2025-01-06 00:36:47 -06:00
  • 4446c86052 Made hook clone code sane, made clear ObjectPatchHook and SetInjectionsHook are not yet operational Jedrzej Kosinski 2025-01-05 22:25:51 -06:00
  • 8270ff312f Refactored 'registered' to be HookGroup instead of a list of Hooks, made AddModelsHook operational and compliant with should_register result, moved TransformerOptionsHook handling out of ModelPatcher.register_all_hook_patches, support patches in TransformerOptionsHook properly by casting any patches/wrappers/hooks to proper device at sample time Jedrzej Kosinski 2025-01-05 21:07:02 -06:00
  • db2d7ad9ba Merge branch 'add_sample_sigmas' into hooks_part2 Jedrzej Kosinski 2025-01-05 15:45:13 -06:00
  • 6620d86318 In inner_sample, change "sigmas" to "sampler_sigmas" in transformer_options to not conflict with the "sigmas" that will overwrite "sigmas" in _calc_cond_batch Jedrzej Kosinski 2025-01-05 15:26:22 -06:00
  • 7da85fac3f Update CODEOWNERS (#6338) Yoland Yan 2025-01-05 01:33:49 -08:00
  • b65b83af6f Add update-frontend github action (#6336) Chenlei Hu 2025-01-05 04:32:11 -05:00
  • c8a3492c22 Make the device an optional parameter in the clip loaders. comfyanonymous 2025-01-05 04:29:36 -05:00
  • 5cbf79787f Add advanced device option to clip loader nodes. comfyanonymous 2025-01-05 01:46:11 -05:00
  • d45ebb63f6 Remove old unused function. comfyanonymous 2025-01-04 07:20:54 -05:00
  • 111fd0cadf Refactored HookGroup to also store a dictionary of hooks separated by hook_type, modified necessary code to no longer need to manually separate out hooks by hook_type Jedrzej Kosinski 2025-01-04 02:04:07 -06:00
  • 776aa734e1 Refactor WrapperHook into TransformerOptionsHook, as there is no need to separate out Wrappers/Callbacks/Patches into different hook types (all affect transformer_options) Jedrzej Kosinski 2025-01-04 01:02:21 -06:00
  • 5a2ad032cb Cleaned up hooks.py, refactored Hook.should_register and add_hook_patches to use target_dict instead of target so that more information can be provided about the current execution environment if needed Jedrzej Kosinski 2025-01-03 20:02:27 -06:00
  • d44295ef71 Merge branch 'master' into hooks_part2 Jedrzej Kosinski 2025-01-03 18:28:31 -06:00
  • caa6476a69 Update web content to release v1.6.17 (#6337) Chenlei Hu 2025-01-03 16:22:08 -05:00
  • 45671cda0b Update web content to release v1.6.16 (#6335) Chenlei Hu 2025-01-03 13:56:46 -05:00
  • 8f29664057 Change defaults in nightly package workflow. comfyanonymous 2025-01-03 12:06:01 -05:00
  • 0b9839ef43 Update web content to release v1.6.15 (#6324) Chenlei Hu 2025-01-02 19:20:48 -05:00
  • 953693b137 add fov and mask for load 3d node (#6308) Terry Jia 2025-01-02 19:20:34 -05:00
  • a39ea87bca Update web content to release v1.6.14 (#6312) Chenlei Hu 2025-01-02 16:18:54 -05:00
  • 9e9c8a1c64 Clear cache as often on AMD as Nvidia. comfyanonymous 2025-01-02 08:44:16 -05:00
  • 0f11d60afb Fix temporal tiling for decoder, remove redundant tiles. (#6306) Andrew Kvochko 2025-01-01 21:29:01 +00:00
  • 79eea51a1d Fix and enforce all ruff W rules. comfyanonymous 2025-01-01 03:08:33 -05:00
  • c0338a46a4 Fix unknown sampler error handling in calculate_sigmas function (#6280) blepping 2024-12-31 15:33:50 -07:00
  • 1c99734e5a Add missing model_options param (#6296) Jedrzej Kosinski 2024-12-31 13:46:55 -06:00
  • 67758f50f3 Fix custom node type-hinting examples (#6281) filtered 2024-12-31 19:41:09 +11:00
  • 02eef72bf5 fixed "verbose" argument (#6289) Alexander Piskun 2024-12-31 11:27:09 +03:00
  • b7572b2f87 Fix and enforce no trailing whitespace. comfyanonymous 2024-12-31 03:16:37 -05:00
  • bf21be066f Merge branch 'master' into hooks_part2 Jedrzej Kosinski 2024-12-30 14:16:22 -06:00
  • a90aafafc1 Add kl_optimal scheduler (#6206) blepping 2024-12-30 03:09:38 -07:00
  • d9b7cfac7e Fix and enforce new lines at the end of files. comfyanonymous 2024-12-30 04:14:59 -05:00
  • 3507870535 Add 'sigmas' to transformer_options so that downstream code can know about the full scope of current sampling run, fix Hook Keyframes' guarantee_steps=1 inconsistent behavior with sampling split across different Sampling nodes/sampling runs by referencing 'sigmas' (#6273) Jedrzej Kosinski 2024-12-30 02:42:49 -06:00
  • 82ecb02c1e Remove duplicate calls to INPUT_TYPES (#6249) catboxanon 2024-12-29 20:06:49 -05:00
  • 72bbf49349 Add 'sigmas' to transformer_options so that downstream code can know about the full scope of current sampling run, fix Hook Keyframes' guarantee_steps=1 inconsistent behavior with sampling split across different Sampling nodes/sampling runs by referencing 'sigmas' Jedrzej Kosinski 2024-12-29 15:49:09 -06:00
  • a618f768e0 Auto reshape 2d to 3d latent for single image generation on video model. comfyanonymous 2024-12-29 02:26:49 -05:00
  • e1dec3c792 Fix formatting. comfyanonymous 2024-12-28 05:33:17 -05:00
  • 96697c4bc5 serve workflow templates from custom_nodes (#6193) Zoltán Dócs 2024-12-28 11:30:04 +01:00
  • b504bd606d Add ruff rule for empty line with trailing whitespace. comfyanonymous 2024-12-28 05:22:21 -05:00
  • d170292594 Remove some trailing white space. comfyanonymous 2024-12-27 18:02:21 -05:00
  • 9cfd185676 Add option to log non-error output to stdout (#6243) filtered 2024-12-28 06:40:05 +11:00
  • 4b5bcd8ac4 Closer memory estimation for hunyuan dit model. comfyanonymous 2024-12-27 07:37:00 -05:00
  • ceb50b2cbf Closer memory estimation for pixart models. comfyanonymous 2024-12-27 07:30:09 -05:00
  • 160ca08138 Use python 3.9 in launch test instead of 3.8 comfyanonymous 2024-12-26 20:05:54 -05:00
  • c4bfdba330 Support ascend npu (#5436) Huazhong Ji 2024-12-27 08:36:50 +08:00
  • ee9547ba31 Improve temporal VAE Encode (Tiled) math. v0.3.10 comfyanonymous 2024-12-26 07:18:49 -05:00
  • 19a64d6291 Cleanup some mac related code. comfyanonymous 2024-12-25 05:32:51 -05:00
  • b486885e08 Disable bfloat16 on older mac. comfyanonymous 2024-12-25 05:18:50 -05:00
  • 0229228f3f Clean up the VAE dtypes code. comfyanonymous 2024-12-25 04:50:34 -05:00
  • 1ed75ab30e Update nightly pytorch instructions in readme for nvidia. comfyanonymous 2024-12-25 03:29:03 -05:00
  • 99a1fb6027 Make fast fp8 take a bit less peak memory. comfyanonymous 2024-12-24 18:05:19 -05:00
  • 73e04987f7 Prevent black images in VAE Decode (Tiled) node. comfyanonymous 2024-12-24 07:36:30 -05:00
  • 5388df784a Add temporal tiling to VAE Encode (Tiled) node. comfyanonymous 2024-12-24 07:10:09 -05:00
  • 26e0ba8f8c Enable External Event Loop Integration for ComfyUI [refactor] (#6114) Alexander Piskun 2024-12-24 14:38:52 +03:00
  • bc6dac4327 Add temporal tiling to VAE Decode (Tiled) node. comfyanonymous 2024-12-23 20:03:37 -05:00
  • f18ebbd316 Use raw dir name to serve static web content (#6107) Chenlei Hu 2024-12-23 03:29:42 -05:00
  • 15564688ed Add a try except block so if torch version is weird it won't crash. comfyanonymous 2024-12-23 03:22:48 -05:00
  • c6b9c11ef6 Add oneAPI device selector for xpu and some other changes. (#6112) Simon Lui 2024-12-23 00:18:32 -08:00
  • e44d0ac7f7 Make --novram completely offload weights. comfyanonymous 2024-12-23 01:50:11 -05:00
  • 56bc64f351 Comment out some useless code. comfyanonymous 2024-12-22 23:51:14 -05:00
  • f7d83b72e0 fixed a bug in ldm/pixart/blocks.py (#6158) zhangp365 2024-12-23 12:44:20 +08:00
  • 80f07952d2 Fix lowvram issue with ltxv vae. comfyanonymous 2024-12-22 23:20:17 -05:00
  • 57f330caf9 Relax minimum ratio of weights loaded in memory on nvidia. comfyanonymous 2024-12-22 03:06:37 -05:00
  • 601ff9e3db Add that Hunyuan Video and Pixart are supported to readme. comfyanonymous 2024-12-21 11:31:39 -05:00
  • 341667c4d5 remove minimum step count for AYS (#6137) TechnoByte 2024-12-21 16:05:09 +01:00
  • 1419dee915 Update README.md for Intel GPUs (#6069) Qiacheng Li 2024-12-20 15:04:03 -08:00
  • da13b6b827 Get rid of meshgrid warning. comfyanonymous 2024-12-20 18:02:12 -05:00
  • c86cd58573 Remove useless code. comfyanonymous 2024-12-20 17:50:03 -05:00
  • b5fe39211a Remove some useless code. comfyanonymous 2024-12-20 17:43:50 -05:00
  • e946667216 Some fixes/cleanups to pixart code. comfyanonymous 2024-12-20 17:10:52 -05:00
  • d7969cb070 Replace print with logging (#6138) Chenlei Hu 2024-12-20 13:24:55 -08:00
  • bddb02660c Add PixArt model support (#6055) City 2024-12-20 21:25:00 +01:00
  • 418eb7062d Support new LTXV VAE. v0.3.9 comfyanonymous 2024-12-20 04:38:29 -05:00
  • cac68ca813 Fix some more video tiled encode issues. comfyanonymous 2024-12-19 23:14:03 -05:00