ComfyScript icon indicating copy to clipboard operation
ComfyScript copied to clipboard

Transpiler and CLIP Set Last Layer

Open lingondricka2 opened this issue 1 year ago • 1 comments

CLIP Set Last Layer is not transpiled

workflow (78).json

lingondricka2 avatar Jan 31 '24 03:01 lingondricka2

This is by design. CLIPSetLastLayer(-1) does nothing and is removed for simplicity.

Full list:

https://github.com/Chaoses-Ib/ComfyScript/blob/5aaf6eed7411b01f410e17e940f5893789210e81/src/comfy_script/transpile/passes/init.py#L32-L46

https://github.com/Chaoses-Ib/ComfyScript/blob/5aaf6eed7411b01f410e17e940f5893789210e81/src/comfy_script/transpile/passes/init.py#L60-L119

Chaoses-Ib avatar Jan 31 '24 05:01 Chaoses-Ib