Commit Graph

3085 Commits

Author SHA1 Message Date
6ff2e4d550 Remove logging call added in last commit.
This is called before the logging is set up so it messes up some things.
2025-01-29 08:08:01 -05:00
222f48c0f2 Allow changing folder_paths.base_path via command line argument. (#6600)
* Reimpl. CLI arg directly inside folder_paths.

* Update tests to use CLI arg mocking.

* Revert last-minute refactor.

* Fix test state polution.
2025-01-29 08:06:28 -05:00
13fd4d6e45 More friendly error messages for corrupted safetensors files. 2025-01-28 09:41:09 -05:00
1210d094c7 Convert latents_ubyte to 8-bit unsigned int before converting to CPU (#6300)
* Convert latents_ubyte to 8-bit unsigned int before converting to CPU

* Only convert to unint8 if directml_enabled
2025-01-28 08:22:54 -05:00
255edf2246 Lower minimum ratio of loaded weights on Nvidia. 2025-01-27 05:26:51 -05:00
4f011b9a00 Better CLIPTextEncode error when clip input is None. 2025-01-26 06:04:57 -05:00
67feb05299 Remove redundant code. 2025-01-25 19:04:53 -05:00
6d21740346 Print ComfyUI version. 2025-01-25 15:03:57 -05:00
7fbf4b72fe Update nightly pytorch ROCm command in Readme. 2025-01-24 06:15:54 -05:00
14ca5f5a10 Remove useless code. 2025-01-24 06:15:54 -05:00
ce557cfb88 Remove redundant code (#6576) 2025-01-23 05:57:41 -05:00
96e2a45193 Remove useless code. 2025-01-23 05:56:23 -05:00
dfa2b6d129 Remove unused function lcm in conds.py (#6572) 2025-01-23 05:54:09 -05:00
f3566f0894 remove some params from load 3d node (#6436) 2025-01-22 17:23:51 -05:00
ca69b41cee Add utils/ to web server developer codeowner (#6570) 2025-01-22 17:16:54 -05:00
a058f52090 [i18n] Add /i18n endpoint to provide all custom node translations (#6558)
* [i18n] Add /i18n endpoint to provide all custom node translations

* Sort glob result for deterministic ordering

* Update comment
2025-01-22 17:15:45 -05:00
d6bbe8c40f Remove support for python 3.8. 2025-01-22 17:04:30 -05:00
a7fe0a94de Refactor and fixes for video latents. 2025-01-22 06:37:46 -05:00
e857dd48b8 Add gradient estimation sampler (#6554) 2025-01-22 05:29:40 -05:00
d303cb5341 Add missing case to CLIPLoader. 2025-01-21 08:57:04 -05:00
fb2ad645a3 Add FluxDisableGuidance node to disable using the guidance embed. 2025-01-20 14:50:24 -05:00
d8a7a32779 Cleanup old TODO. 2025-01-20 03:44:13 -05:00
a00e1489d2 LatentBatch fix for video latents 2025-01-19 06:02:14 -05:00
ebf038d4fa Use torch.special.expm1 (#6388)
* Use `torch.special.expm1`

This function provides greater precision than `exp(x) - 1` for small values of `x`.

Found with TorchFix https://github.com/pytorch-labs/torchfix/

* Use non-alias
2025-01-19 04:54:32 -05:00
b4de04a1c1 Update frontend to v1.7.14 (#6522)
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com>
2025-01-18 21:43:37 -05:00
b1a02131c9 Remove comfy.samplers self-import (#6506) 2025-01-18 17:49:51 -05:00
3a3910f91d PromptServer: Return 400 for empty filename param (#6504) 2025-01-18 17:47:33 -05:00
507199d9a8 Uni pc sampler now works with audio and video models. 2025-01-18 05:27:58 -05:00
2f3ab40b62 Add warning when using old pytorch versions. 2025-01-17 18:47:27 -05:00
7fc3ccdcc2 Add that nvidia cosmos is supported to the README. 2025-01-16 21:17:18 -05:00
55add50220 Bump ComfyUI version to v0.3.12 v0.3.12 2025-01-16 18:11:57 -05:00
0aa2368e46 Fix some cosmos fp8 issues. 2025-01-16 17:45:37 -05:00
cca96a85ae Fix cosmos VAE failing with videos longer than 121 frames. 2025-01-16 16:30:06 -05:00
619b8cde74 Bump ComfyUI version to 0.3.11 v0.3.11 2025-01-16 14:54:48 -05:00
31831e6ef1 Code refactor. 2025-01-16 07:23:54 -05:00
88ceb28e20 Tweak hunyuan memory usage factor. 2025-01-16 06:31:03 -05:00
23289a6a5c Clean up some debug lines. 2025-01-16 04:24:39 -05:00
9d8b6c1f46 More accurate memory estimation for cosmos and hunyuan video. 2025-01-16 03:48:40 -05:00
6320d05696 Slightly lower hunyuan video memory usage. 2025-01-16 00:23:01 -05:00
25683b5b02 Lower cosmos diffusion model memory usage. 2025-01-15 23:46:42 -05:00
4758fb64b9 Lower cosmos VAE memory usage by a bit. 2025-01-15 22:57:52 -05:00
008761166f Optimize first attention block in cosmos VAE. 2025-01-15 21:48:46 -05:00
bfd5dfd611 3.13 doesn't work yet. 2025-01-15 20:32:44 -05:00
55ade36d01 Remove python 3.8 from test-build workflow. 2025-01-15 20:24:55 -05:00
2e20e399ea Add minimum numpy version to requirements.txt 2025-01-15 20:19:56 -05:00
3baf92d120 CosmosImageToVideoLatent batch_size now does something. 2025-01-15 17:19:59 -05:00
1709a8441e Use latest python 3.12.8 the portable release. 2025-01-15 14:50:40 -05:00
cba58fff0b Remove unsafe embedding load for very old pytorch. 2025-01-15 04:32:23 -05:00
2feb8d0b77 Force safe loading of files in torch format on pytorch 2.4+
If this breaks something for you make an issue.
2025-01-15 03:50:27 -05:00
5b657f8c15 Allow setting start and end image in CosmosImageToVideoLatent. 2025-01-15 00:41:35 -05:00