Commit Graph

5336 Commits

Author SHA1 Message Date
patientx
0785ab29ca
Update README.md 2025-10-04 16:31:13 +03:00
patientx
b54ecbde4e
Merge branch 'comfyanonymous:master' into master 2025-10-04 16:31:00 +03:00
patientx
06476797ca
Update README.md 2025-10-04 16:30:53 +03:00
patientx
44884f0929
Merge pull request #329 from Rando717/cfz-updater
Cfz updater
2025-10-04 16:25:55 +03:00
patientx
535ec4c0c8
Merge pull request #327 from Rando717/hip-path
fix breaking git pull and incorrect MSVC check
2025-10-04 16:24:59 +03:00
Rando717
de42dc2008
Create cfz_update_utility.bat
all-in-one batch file with select menu to:

- check for updates only
- check and git pull updates
- fix broken updates/branch
- hard reset/wipe (removes: tracked, untracked, modified, discard staged, not pushed commits, .gitignore)
- info about current stage: what is modified, untracked and ignored
2025-10-04 14:53:49 +02:00
Rando717
a35059411f
Delete fix-update.bat 2025-10-04 14:37:42 +02:00
Rando717
cc6761dab2
Delete update.bat 2025-10-04 14:37:26 +02:00
Rando717
5884ab8892
Delete comfyui.png 2025-10-04 14:37:12 +02:00
Rando717
c079a1725f
no pager on git pull and false msvc report fix
-no pager for long git outputs to prevent breaking

- reworked and combined build tools and msvc checks
- removed PATH check for msvc tools, not mandatory for triton
- removed split suffix/prefix search, causes false positives
- simplified search via vswhere for build tools and vs components
-prints build tools version same as before, but no msvc info, 
unless req. component is missing, that includes; cmake tools, clang compiler, msvc build tools, windows sdk
2025-10-04 08:12:10 +02:00
Rando717
7ac280ae3f
no pager on git log and pull
to prevent stops when output is long
2025-10-04 07:51:34 +02:00
comfyanonymous
bbd683098e
Add instructions to install nightly AMD pytorch for windows. (#10190)
* Add instructions to install nightly AMD pytorch for windows.

* Update README.md
2025-10-03 23:37:43 -04:00
comfyanonymous
08726b64fe
Update amd nightly command in readme. (#10189) 2025-10-03 18:22:43 -04:00
patientx
c3a59c8e40
Merge branch 'comfyanonymous:master' into master 2025-10-04 00:51:31 +03:00
Finn-Hecker
93d859cfaa
Fix type annotation syntax in MotionEncoder_tc __init__ (#10186)
## Summary
Fixed incorrect type hint syntax in `MotionEncoder_tc.__init__()` parameter list.

## Changes
- Line 647: Changed `num_heads=int` to `num_heads: int` 
- This corrects the parameter annotation from a default value assignment to proper type hint syntax

## Details
The parameter was using assignment syntax (`=`) instead of type annotation syntax (`:`), which would incorrectly set the default value to the `int` class itself rather than annotating the expected type.
2025-10-03 14:32:19 -07:00
Alexander Piskun
4614ee09ca
convert nodes_edit_model.py to V3 schema (#10147) 2025-10-03 13:24:42 -07:00
Alexander Piskun
5c8e986e27
convert nodes_tomesd.py to V3 schema (#10180) 2025-10-03 11:50:38 -07:00
Alexander Piskun
8c26d7bbe6
convert nodes_pixverse.py to V3 schema (#10177) 2025-10-03 11:48:21 -07:00
Alexander Piskun
d7aa414141
convert nodes_eps.py to V3 schema (#10172) 2025-10-03 11:45:02 -07:00
Alexander Piskun
3e68bc342c
convert nodes_torch_compile.py to V3 schema (#10173) 2025-10-03 11:43:54 -07:00
Alexander Piskun
c2c5a7d5f8
fix(api-nodes): bad indentation in Recraft API node function (#10175) 2025-10-03 11:41:06 -07:00
Alexander Piskun
8a293372ec
fix(api-nodes): reimport of base64 in Gemini node (#10181) 2025-10-03 11:40:27 -07:00
patientx
4132db3aee
Merge branch 'comfyanonymous:master' into master 2025-10-03 21:31:32 +03:00
Alexander Piskun
ed3ca78e08
feat(api-nodes): add kling-2-5-turbo to txt2video and img2video nodes (#10155) 2025-10-03 11:26:34 -07:00
patientx
de2f2ac25a
Merge branch 'comfyanonymous:master' into master 2025-10-03 13:20:55 +03:00
Alexander Piskun
4ffea0e864
feat(linter, api-nodes): add pylint for comfy_api_nodes folder (#10157) 2025-10-02 19:14:28 -04:00
patientx
e0a5e8e304
Merge branch 'comfyanonymous:master' into master 2025-10-03 01:41:28 +03:00
Alexander Piskun
1395bce9f7
update example_node to use V3 schema (#9723) 2025-10-02 15:20:29 -07:00
patientx
a12b26c630
Merge branch 'comfyanonymous:master' into master 2025-10-03 01:01:55 +03:00
comfyanonymous
e9364ee279
Turn on TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL by default. (#10168) 2025-10-02 17:57:15 -04:00
Alexander Piskun
f6e3e9a456
fix(api-nodes): made logging path to be smaller (#10156) 2025-10-02 14:50:31 -07:00
Alexander Piskun
8f4ee9984c
convert nodes_morphology.py to V3 schema (#10159) 2025-10-02 13:53:00 -07:00
patientx
603dfa1a65
Merge branch 'comfyanonymous:master' into master 2025-10-02 14:06:08 +03:00
patientx
8dd4ae488f
Merge pull request #322 from Rando717/hip-path
echo/print for hip path(s)
2025-10-02 14:05:30 +03:00
comfyanonymous
0e9d1724be
Add a .bat to the AMD portable to disable smart memory. (#10153) 2025-10-02 00:33:05 -04:00
rattus128
4965c0e2ac
WAN: Fix cache VRAM leak on error (#10141)
If this suffers an exception (such as a VRAM oom) it will leave the
encode() and decode() methods which skips the cleanup of the WAN
feature cache. The comfy node cache then ultimately keeps a reference
this object which is in turn reffing large tensors from the failed
execution.

The feature cache is currently setup at a class variable on the
encoder/decoder however, the encode and decode functions always clear
it on both entry and exit of normal execution.

Its likely the design intent is this is usable as a streaming encoder
where the input comes in batches, however the functions as they are
today don't support that.

So simplify by bringing the cache back to local variable, so that if
it does VRAM OOM the cache itself is properly garbage when the
encode()/decode() functions dissappear from the stack.
2025-10-01 18:42:16 -04:00
rattus128
911331c06c
sd: fix VAE tiled fallback VRAM leak (#10139)
When the VAE catches this VRAM OOM, it launches the fallback logic
straight from the exception context.

Python however refs the entire call stack that caused the exception
including any local variables for the sake of exception report and
debugging. In the case of tensors, this can hold on the references
to GBs of VRAM and inhibit the VRAM allocated from freeing them.

So dump the except context completely before going back to the VAE
via the tiler by getting out of the except block with nothing but
a flag.

The greately increases the reliability of the tiler fallback,
especially on low VRAM cards, as with the bug, if the leak randomly
leaked more than the headroom needed for a single tile, the tiler
would fallback would OOM and fail the flow.
2025-10-01 18:40:28 -04:00
Rando717
cfb3eecdc3
Update comfyui-n.bat, print hip PATH(s)
prints "HIP_PATH" at the very top, 
and all defined "HIP_PATH_xx" paths


optional print under Build Tools with check for MSVC in PATH,
assuming default path:
<drive>\<program files>\Microsoft Visual Studio\<year>\BuildTools\VC\Tools\MSVC\<version>\bin\Hostx64\x64
2025-10-02 00:22:02 +02:00
Koratahiu
bb32d4ec31
feat: Add Epsilon Scaling node for exposure bias correction (#10132) 2025-10-01 17:59:07 -04:00
Rando717
129d2c3d2e
Updated comfyui.bat, print hip PATH(s)
added echo for "HIP_PATH" at the top
and all "HIP_PATH_xx" paths that are defined: 57, 61, 62, 64, 70
2025-10-01 23:34:03 +02:00
comfyanonymous
a6f83a4a1a
Support the new hunyuan vae. (#10150) 2025-10-01 17:19:13 -04:00
patientx
3ca4f4985f
Merge branch 'comfyanonymous:master' into master 2025-10-01 23:01:53 +03:00
Alexander Piskun
e4f99b479a
convert nodes_ip2p.pt to V3 schema (#10097) 2025-10-01 12:20:30 -07:00
Alexander Piskun
d9c0a4053d
convert nodes_lt.py to V3 schema (#10084) 2025-10-01 12:19:56 -07:00
Alexander Piskun
11bab7be76
convert nodes_pag.py to V3 schema (#10080) 2025-10-01 12:18:49 -07:00
Alexander Piskun
3af1881455
convert nodes_optimalsteps.py to V3 schema (#10074) 2025-10-01 12:18:04 -07:00
Alexander Piskun
e0210ce0a7
convert nodes_differential_diffusion.py to V3 schema (#10056) 2025-10-01 12:17:33 -07:00
Alexander Piskun
7eb7160db4
convert nodes_gits.py to V3 schema (#9949) 2025-10-01 12:16:59 -07:00
patientx
beec1dcd98
Update README.md 2025-10-01 21:00:08 +03:00
patientx
1e2069a1e8
Merge branch 'comfyanonymous:master' into master 2025-10-01 20:59:54 +03:00