Skip to content

Commit 92096b3

Browse files
authored
Merge branch 'master' into feature/deploy-environment-header
2 parents 2001646 + f3ea976 commit 92096b3

118 files changed

Lines changed: 42642 additions & 2199 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/windows_amd_base_files/run_amd_gpu_disable_smart_memory.bat renamed to .ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --disable-smart-memory
1+
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --enable-dynamic-vram
22
pause
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Tag Dispatch to Cloud
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
dispatch-cloud:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Send repository dispatch to cloud
13+
env:
14+
DISPATCH_TOKEN: ${{ secrets.CLOUD_REPO_DISPATCH_TOKEN }}
15+
RELEASE_TAG: ${{ github.ref_name }}
16+
run: |
17+
set -euo pipefail
18+
19+
if [ -z "${DISPATCH_TOKEN:-}" ]; then
20+
echo "::error::CLOUD_REPO_DISPATCH_TOKEN is required but not set."
21+
exit 1
22+
fi
23+
24+
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${RELEASE_TAG}"
25+
26+
PAYLOAD="$(jq -n \
27+
--arg release_tag "$RELEASE_TAG" \
28+
--arg release_url "$RELEASE_URL" \
29+
'{
30+
event_type: "comfyui_tag_pushed",
31+
client_payload: {
32+
release_tag: $release_tag,
33+
release_url: $release_url
34+
}
35+
}')"
36+
37+
curl -fsSL \
38+
-X POST \
39+
-H "Accept: application/vnd.github+json" \
40+
-H "Content-Type: application/json" \
41+
-H "Authorization: Bearer ${DISPATCH_TOKEN}" \
42+
https://api.github.com/repos/Comfy-Org/cloud/dispatches \
43+
-d "$PAYLOAD"
44+
45+
echo "✅ Dispatched ComfyUI tag ${RELEASE_TAG} to Comfy-Org/cloud"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ venv*/
2121
*.log
2222
web_custom_versions/
2323
.DS_Store
24-
openapi.yaml
2524
filtered-openapi.yaml
2625
uv.lock
2726
.comfy_environment

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Admins
2-
* @comfyanonymous @kosinkadink @guill
2+
* @comfyanonymous @kosinkadink @guill @alexisrolland @rattus128 @kijai

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div align="center">
22

33
# ComfyUI
4-
**The most powerful and modular visual AI engine and application.**
4+
**The most powerful and modular AI engine for content creation.**
55

66

77
[![Website][website-shield]][website-url]
@@ -31,10 +31,16 @@
3131
[github-downloads-latest-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/latest/total?style=flat&label=downloads%40latest
3232
[github-downloads-link]: https://github.com/comfyanonymous/ComfyUI/releases
3333

34-
![ComfyUI Screenshot](https://github.com/user-attachments/assets/7ccaf2c1-9b72-41ae-9a89-5688c94b7abe)
34+
<img width="1590" height="795" alt="ComfyUI Screenshot" src="https://github.com/user-attachments/assets/36e065e0-bfae-4456-8c7f-8369d5ea48a2" />
35+
<br>
3536
</div>
3637

37-
ComfyUI lets you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. Available on Windows, Linux, and macOS.
38+
ComfyUI is the AI creation engine for visual professionals who demand control over every model, every parameter, and every output. Its powerful and modular node graph interface empowers creatives to generate images, videos, 3D models, audio, and more...
39+
- ComfyUI natively supports the latest open-source state of the art models.
40+
- API nodes provide access to the best closed source models such as Nano Banana, Seedance, Hunyuan3D, etc.
41+
- It is available on Windows, Linux, and macOS, locally with our desktop application or on our cloud.
42+
- The most sophisticated workflows can be exposed through a simple UI thanks to App Mode.
43+
- It integrates seamlessly into production pipelines with our API endpoints.
3844

3945
## Get Started
4046

@@ -77,6 +83,7 @@ See what ComfyUI can do with the [newer template workflows](https://comfy.org/wo
7783
- [Hunyuan Image 2.1](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_image/)
7884
- [Flux 2](https://comfyanonymous.github.io/ComfyUI_examples/flux2/)
7985
- [Z Image](https://comfyanonymous.github.io/ComfyUI_examples/z_image/)
86+
- Ernie Image
8087
- Image Editing Models
8188
- [Omnigen 2](https://comfyanonymous.github.io/ComfyUI_examples/omnigen/)
8289
- [Flux Kontext](https://comfyanonymous.github.io/ComfyUI_examples/flux/#flux-kontext-image-editing-model)
@@ -193,13 +200,15 @@ If you have trouble extracting it, right click the file -> properties -> unblock
193200

194201
The portable above currently comes with python 3.13 and pytorch cuda 13.0. Update your Nvidia drivers if it doesn't start.
195202

196-
#### Alternative Downloads:
203+
#### All Official Portable Downloads:
197204

198205
[Portable for AMD GPUs](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_amd.7z)
199206

200-
[Experimental portable for Intel GPUs](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_intel.7z)
207+
[Portable for Intel GPUs](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_intel.7z)
208+
209+
[Portable for Nvidia GPUs](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z) (supports 20 series and above).
201210

202-
[Portable with pytorch cuda 12.6 and python 3.12](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia_cu126.7z) (Supports Nvidia 10 series and older GPUs).
211+
[Portable for Nvidia GPUs with pytorch cuda 12.6 and python 3.12](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia_cu126.7z) (Supports Nvidia 10 series and older GPUs).
203212

204213
#### How do I share models between another UI and ComfyUI?
205214

blueprints/.glsl/Glow_30.frag

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
precision mediump float;
33

44
uniform sampler2D u_image0;
5-
uniform vec2 u_resolution;
65
uniform int u_int0; // Blend mode
76
uniform int u_int1; // Color tint
87
uniform float u_float0; // Intensity
@@ -75,7 +74,7 @@ void main() {
7574
float t0 = threshold - 0.15;
7675
float t1 = threshold + 0.15;
7776

78-
vec2 texelSize = 1.0 / u_resolution;
77+
vec2 texelSize = 1.0 / vec2(textureSize(u_image0, 0));
7978
float radius2 = radius * radius;
8079

8180
float sampleScale = clamp(radius * 0.75, 0.35, 1.0);

blueprints/.glsl/Image_Blur_1.frag

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const int RADIAL_SAMPLES = 12;
1212
const float RADIAL_STRENGTH = 0.0003;
1313

1414
uniform sampler2D u_image0;
15-
uniform vec2 u_resolution;
1615
uniform int u_int0; // Blur type (BLUR_GAUSSIAN, BLUR_BOX, BLUR_RADIAL)
1716
uniform float u_float0; // Blur radius/amount
1817
uniform int u_pass; // Pass index (0 = horizontal, 1 = vertical)
@@ -25,7 +24,7 @@ float gaussian(float x, float sigma) {
2524
}
2625

2726
void main() {
28-
vec2 texelSize = 1.0 / u_resolution;
27+
vec2 texelSize = 1.0 / vec2(textureSize(u_image0, 0));
2928
float radius = max(u_float0, 0.0);
3029

3130
// Radial (angular) blur - single pass, doesn't use separable

blueprints/.glsl/Sharpen_23.frag

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
precision highp float;
33

44
uniform sampler2D u_image0;
5-
uniform vec2 u_resolution;
65
uniform float u_float0; // strength [0.0 – 2.0] typical: 0.3–1.0
76

87
in vec2 v_texCoord;
98
layout(location = 0) out vec4 fragColor0;
109

1110
void main() {
12-
vec2 texel = 1.0 / u_resolution;
11+
vec2 texel = 1.0 / vec2(textureSize(u_image0, 0));
1312

1413
// Sample center and neighbors
1514
vec4 center = texture(u_image0, v_texCoord);

blueprints/.glsl/Unsharp_Mask_26.frag

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
precision highp float;
33

44
uniform sampler2D u_image0;
5-
uniform vec2 u_resolution;
65
uniform float u_float0; // amount [0.0 - 3.0] typical: 0.5-1.5
76
uniform float u_float1; // radius [0.5 - 10.0] blur radius in pixels
87
uniform float u_float2; // threshold [0.0 - 0.1] min difference to sharpen
@@ -19,7 +18,7 @@ float getLuminance(vec3 color) {
1918
}
2019

2120
void main() {
22-
vec2 texel = 1.0 / u_resolution;
21+
vec2 texel = 1.0 / vec2(textureSize(u_image0, 0));
2322
float radius = max(u_float1, 0.5);
2423
float amount = u_float0;
2524
float threshold = u_float2;

0 commit comments

Comments
 (0)