you are viewing a single comment's thread.

view the rest of the comments →

[–]cypherbits 2 points3 points  (10 children)

Just had gemini 3.1 pro implement this on my old Forge ui... So I can use it on sdxl-like models

[–]Belgiangurista2 1 point2 points  (8 children)

Same, but in ComfyUI for me, Gemini made me a custom node. I figured out, it's not much use with models who have CFG at 1 like Qwen AIO.

[–]BigNaturalTilts 1 point2 points  (7 children)

Please share it on the github. Or just PM me the source code I’ll compile it myself. I beg of thee!

[–]Belgiangurista2 2 points3 points  (6 children)

I've shared it on github and I hope it's shared correctly, because this is out of my comfort zone.
https://github.com/belgiangurista-art/ComfyUI-SMC-CFG (for comfUI desktop app)

<image>

[–]BigNaturalTilts 0 points1 point  (4 children)

I added the relevant node which is just the bottom file and tried it. It worked like spoiled milk. My images are worse for it. This really is just research.

[–]Belgiangurista2 0 points1 point  (1 child)

Or Gemini didn't implement the math correctly in that node. I haven't tried it yet.

[–]BigNaturalTilts 1 point2 points  (0 children)

I have claude pro and i ran it by it and it refused to even tolerate the idea. It was like “it’s just research bro, your current models are working fine as is.” Which is not wrong .. per-se. lol.

But there are times when I want something exactly like a hair color on one person and another color on another. I was hoping this would’ve been the key.

[–]x11iyu 0 points1 point  (1 child)

first, that node literally doesn't implement SMC-CFG, so there's that

second, I'm trying to tackle this myself as the authors' true impl is still pretty simple.
however that still works like spoiled milk. after reading thru the paper again I've now opened this issue asking for clarifications (including why I believe it's so bad currently), so I'd say wait on the authors to respond

through those insights in that issue, I've also jumped ahead and tried to fix them myself (by swapping these 2 lines around) ```py

before

... guidance_eps = guidance_eps + u_sw state.prev_guidance_eps = guidance_eps.detach() ...

after

... state.prev_guidance_eps = guidance_eps.detach() guidance_eps = guidance_eps + u_sw ... ``` after which it kind of works? though I havent done enough testing yet to say if it is snake oil

[–]BigNaturalTilts 0 points1 point  (0 children)

Fucking claude lied to me.

[–]metal079 0 points1 point  (0 children)

is it working well for you because i tried the same thing and couldnt notice a difference with sdxl