I was playing with the fast multipole method this summer, mainly by translating the fantastic pybbfmm library from torch to jax.

showcase: simulation of an infection spread over the British Isles (10M agents, 3s to simulate with jax, 3x over pytorch).

Comments