Skip to content

v0.2.2

Choose a tag to compare

@jkitchin jkitchin released this 06 Oct 03:33
· 521 commits to main since this release
efac77f

Fixed

  • Gas plant columns: 0.2.1's retry of a non-converging first pass compiled
    that pass three times (a lax.cond per retry). Every jit or jacfwd
    through a gas plant column grew by about a quarter -- a jacfwd through
    the isomerization DIH went from 10.7 to 13.3 GB -- and the shard of the
    Publish gate holding the DIH tests ran its runner out of memory, so 0.2.1
    never reached PyPI. The retries are now one while_loop that traces the
    pass once; same refluxes, same answers.
  • C5/C6 isomerization: one pass of the DIH recycle is jitted (it ran eagerly,
    op by op, on every Anderson iteration and every jvp), and its implicit
    derivative linearizes the pass once instead of compiling three jvps. A
    recycle solve went from about 390 s to 17 s; a jacfwd through the unit
    from 213 s and 13.3 GB to 103 s and 7.1 GB.

0.2.1 was tagged but never reached PyPI; 0.2.2 includes its fixes.