Lune

ICML2024顶会

ΦFlow: Differentiable Simulations for PyTorch, TensorFlow and Jax

Philipp Holl, Nils Thuerey

摘要

Differentiable processes have proven an invaluable tool for machine learning (ML) in scientific and engineering settings, but most ML libraries are not primarily designed for such applications. We present Φ Flow , a Python toolkit that seamlessly integrates with PyTorch, Tensor-Flow, Jax and NumPy, simplifying the process of writing differentiable simulation code at every step. Φ Flow provides many essential features that go beyond the capabilities of the base libraries, such as differential operators, boundary conditions, the ability to write dimensionalityagnostic code, floating-point precision management, fully differentiable preconditioned (sparse) linear solves, automatic matrix generation via function tracing, integration of SciPy optimizers, simulation vectorization, and visualization tools. At the same time, Φ Flow inherits all important traits of the base ML libraries, such as GPU / TPU support, just-in-time compilation, and automatic differentiation. Put together, these features drastically simplify scientific code like PDE or ODE solvers on grids or unstructured meshes, and Φ Flow even includes out-of-the-box support for fluid simulations. Φ Flow has been used in various publications and as a ground-truth solver in multiple scientific data sets. It is available at https: //github.com/tum-pbs/PhiFlow .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Solver-in-the-Loop: Learning from Differentiable Physics to Interact with Iterative PDE-Solvers 引用了 Learning to Simulate Complex Physics with Graph Networks
  • Learning to Simulate Complex Physics with Graph Networks 引用了 Learning to Control PDEs with Differentiable Physics
  • Message Passing Neural PDE Solvers 引用了 Learning to Simulate Complex Physics with Graph Networks
  • JAX MD: A Framework for Differentiable Physics 引用了 Learning to Simulate Complex Physics with Graph Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper12

  1. Learning to Simulate Complex Physics with Graph NetworksAlvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying 等ICML 2020 · 1,439 次引用
  2. Message Passing Neural PDE SolversJohannes Brandstetter, Daniel E. Worrall, Max WellingICLR 2022 · 410 次引用
  3. Solver-in-the-Loop: Learning from Differentiable Physics to Interact with Iterative PDE-SolversKiwon Um, Robert Brand, Yun (Raymond) Fei, Philipp Holl 等NeurIPS 2020 · 398 次引用
  4. Learning to Control PDEs with Differentiable PhysicsPhilipp Holl, Nils Thuerey, Vladlen KoltunICLR 2020 · 221 次引用
  5. JAX MD: A Framework for Differentiable PhysicsSamuel S. Schoenholz, Ekin Dogus CubukNeurIPS 2020 · 195 次引用

相关 Paper

  1. Learnable-Differentiable Finite Volume Solver for Accelerated Simulation of FlowsMengtao Yan, Qi Wang, Haining Wang, Ruizhi Chengze 等KDD 2025 · 3 次引用
  2. Learning, Solving and Optimizing PDEs with TensorGalerkin: an efficient high-performance Galerkin assembly algorithmShizheng Wen, Mingyuan chi, Tianwei Yu, Ben Moseley 等ICML 2026 · 1 次引用
  3. DiffTaichi: Differentiable Programming for Physical SimulationYuanming Hu, Luke Anderson, Tzu-Mao Li, Qi Sun 等ICLR 2020 · 479 次引用
  4. PRDP: Progressively Refined Differentiable PhysicsKanishk Bhatia, Felix Koehler, Nils ThuereyICLR 2025
  5. Theseus: A Library for Differentiable Nonlinear OptimizationLuis Pineda, Taosha Fan, Maurizio Monge, Shobha Venkataraman 等NeurIPS 2022 · 124 次引用
黄昏的海面,两侧是细线勾勒的悬崖