Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38238ea475 | ||
|
|
16c88765fd | ||
|
|
0785d73e38 | ||
|
|
70cb308c80 | ||
|
|
c39aad681a | ||
|
|
6dc99ad241 | ||
|
|
49e0628e73 | ||
|
|
d6d788b9ee | ||
|
|
4a315ab588 | ||
|
|
5222fce211 | ||
|
|
8a1d27f028 | ||
|
|
3b56ea0413 | ||
|
|
29e7a80f35 | ||
|
|
d9a4d4aa7c | ||
|
|
9f79598370 | ||
|
|
0c61a34a0f | ||
|
|
0be0cfb6ef |
@@ -0,0 +1,20 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- "[0-9]+.[0-9]+.[0-9]+"
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
@@ -141,6 +141,10 @@ class AttentionCouple:
|
||||
k = torch.cat([k[i].unsqueeze(0).repeat(b,1,1) for i in range(length)], dim=0)
|
||||
v = torch.cat([v[i].unsqueeze(0).repeat(b,1,1) for i in range(length)], dim=0)
|
||||
|
||||
if k.dtype != q_target.dtype or v.dtype != q_target.dtype:
|
||||
# Ensure all dtypes match
|
||||
k = k.to(q_target.dtype)
|
||||
v = v.to(q_target.dtype)
|
||||
qkv = optimized_attention(q_target, k, v, extra_options["n_heads"])
|
||||
qkv = qkv * masks
|
||||
qkv = qkv.view(length, b, -1, module.heads * module.dim_head).sum(dim=0)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[project]
|
||||
name = "comfyui-comfycouple"
|
||||
description = "If you want to draw two different characters together without blending their features, so you could try to check out this custom node."
|
||||
version = "0.1.4"
|
||||
license = { text = "GNU General Public License v3.0" }
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/Danand/ComfyUI-ComfyCouple"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "rei---"
|
||||
DisplayName = "ComfyUI-ComfyCouple"
|
||||
Icon = ""
|
||||
Reference in New Issue
Block a user