Repository navigation
Firedrake in the Mosaic benchmark suite #5233
dionhaefner
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We just released Mosaic (github.com/pasteurlabs/mosaic), a benchmark for differentiable physics solvers. Each solver runs in a container behind a uniform
apply/vjpinterface, so one harness compares gradient accuracy and cost across JAX, PyTorch, Julia, and C++-adjoint codes on shared tasks.Firedrake (with pyadjoint) is one of the benchmarked solvers on the structural-mesh and thermal-mesh domains (results if you're interested).
We did our best to do it justice, but we don't know your code as well as you do and have surely made suboptimal calls. For example, we let pyadjoint tape the solve and pass no
solver_parametersat all, so we're relying on Firedrake's default solver selection with no bespoke fieldsplit. If you'd recommend specific solver_parameters or a preconditioner for accurate, fast adjoints on these elasticity and heat problems, we'd love to know.The setup is self-contained under
mosaic/tesseracts/structural-mesh/firedrake-structural/andmosaic/tesseracts/thermal-mesh/firedrake-heat/. If something looks odd, corrections or a PR are very welcome, here or on the Tesseract Forum.Mostly we wanted you to know your work is represented, and to get it right.
Cheers,
Dion on behalf of the Mosaic authors
All reactions