Jax reimplementation of openISP heavily based on fast-OpenISP.
Speeds up openISP by being jit-compiled wherever possible and enabling easy hardware-agnostic parallelization, while being compile-time type-safe using beartype and jaxtyping. Thorougly property-tested using hypothesis.
Node | shape | fast-openISP | jaxisp |
---|---|---|---|
DPC | 1000x1000 | 58.31 ms | 25.24 ms |
BLC | 1000x1000 | 6.723 ms | 3.387 ms |
AAF | 1000x1000 | 12.06 ms | 12.79 ms |
AWB | 1000x1000 | 6.125 ms | 3.352 ms |
CNF | 1000x1000 | 31.04 ms | 3.359 ms |
CFA | |||
CCM | 1000x1000x3 | 17.14 ms | 10.85 ms |
GAC | 1000x1000x3 | 13.56 ms | 0.493 ms |
CSC | |||
NLM | 1000x1000x3 | 6321 ms | 1968 ms |
BNF | |||
CEH | |||
EEH | |||
FCS | |||
HSC | 1000x1000x2 | 14.198 ms | 0.593 ms |
BCC | 1000x1000x3 | 36.898 ms | 0.349 ms |
Total | 6.52 s | 2.03 s |