ComfyUI Node
Mpi Compare Packs
Compare two packs slot by slot. Outputs equal (true only if every slot matches) and first_diff, the 1-based slot of the first mismatch (0 when equal). Images and other tensors compare by content, and nested packs compare all the way down.
Mpi Compare Packs
- a
- b
- equal
- first_diff
CategoryMpiNodes/Logic
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| a | MPI_PACK | — | |
| b | MPI_PACK | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| equal | BOOLEAN | — |
| first_diff | INT | — |