dev/ — verification & debugging harnesses
These scripts are developer tools only; they are not imported by the node and are not needed to run it.
parity.py— DiT torch-vs-MLX numeric parity (tiny random model; self-contained).parity_vae.py,parity_encoder.py— VAE / encoder MLX-vs-reference checks.parity_official.py,parity_dit.py,dump_official.py,dump_layer0.py— deeper parity against the reference SeFi repos (the diffusersSeFi-Imagepipeline and/or the ComfyUI-SeFi-Image node). These require those repos to be present locally and are used to trace divergences end-to-end.
Run from the ComfyUI root, e.g.:
python custom_nodes/ComfyUI-SeFi-MLX/dev/parity.py
Paths in the docstrings use ~/ComfyUI/... and <hash> placeholders — adjust to
your local snapshot.