Published September 1, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.03419

mpi4jax: Zero-copy MPI communication of JAX arrays

Files

joss.03419.pdf

Files (5.1 MB)

Name Size Download all
md5:493c5e4681a2c140a083ced5122e8829
307.8 kB Preview Download
md5:25379dac793c4284cb7ec2031fa9f19c
4.8 MB Preview Download

Additional details

Dates

Issued
September 1, 2021

References

  1. Häfner, D., & Vicentini, F. (2021). mpi4jax v0.3.2 (Version v0.3.2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5337529
  2. Häfner, D., Jacobsen, R. L., Eden, C., Kristensen, M. R. B., Jochum, M., Nuterman, R., & Vinter, B. (2018). Veros v0.1 – a fast and versatile ocean simulator in pure Python. Geoscientific Model Development, 11(8), 3299–3312. https://doi.org/10.5194/gmd-11-3299-2018
  3. Carleo, G., Choo, K., Hofmann, D., Smith, J. E. T., Westerhout, T., Alet, F., Davis, E. J., Efthymiou, S., Glasser, I., Lin, S.-H., Mauri, M., Mazzola, G., Mendl, C. B., van Nieuwenburg, E., O’Reilly, O., Théveniaut, H., Torlai, G., Vicentini, F., & Wietek, A. (2019). NetKet: A machine learning toolkit for many-body quantum systems. SoftwareX, 10, 100311. https://doi.org/10.1016/j.softx.2019.100311
  4. Forum, Message P, MPI: A Message-Passing Interface Standard, 1994, University of Tennessee, USA, The Message Passing Interface Forum (MPIF), with participation from over 40 organizations, has been meeting since November 1992 to discuss and define a set of library standards for message passing. MPIF is not sanctioned or supported by any official standards organization. The goal of the Message Passing Interface, simply stated, is to develop a widely used standard for writing message-passing programs. As such the interface should establish a practical, portable, efficient and flexible standard for message passing. , This is the final report, Version 1.0, of the Message Passing Interface Forum. This document contains all the technical features proposed for the interface. This copy of the draft was processed by LATEX on April 21, 1994. , Please send comments on MPI to mpi-comments@cs.utk.edu. Your comment will be forwarded to MPIF committee members who will attempt to respond.
  5. Dalcín, L., Paz, R., & Storti, M. (2005). MPI for Python. Journal of Parallel and Distributed Computing, 65(9), 1108–1115. https://doi.org/10.1016/j.jpdc.2005.03.010
  6. Bradbury, James and Frostig, Roy and Hawkins, Peter and Johnson, Matthew James and Leary, Chris and Maclaurin, Dougal and Necula, George and Paszke, Adam and VanderPlas, Jake and Wanderman-Milne, Skye and Zhang, Qiao, JAX: composable transformations of Python+NumPy programs, http://github.com/google/jax, 0.2.5, 2018
  7. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  8. Behnel, S., Bradshaw, R., Citro, C., Dalcin, L., Seljebotn, D. S., & Smith, K. (2011). Cython: The Best of Both Worlds. Computing in Science & Engineering, 13(2), 31–39. https://doi.org/10.1109/mcse.2010.118
  9. Häfner, Dion, PyHPC benchmarks, 2020, GitHub, GitHub repository, https://github.com/dionhaefner/pyhpc-benchmarks
  10. Li, L., Hoyer, S., Pederson, R., Sun, R., Cubuk, E. D., Riley, P., & Burke, K. (2021). Kohn-Sham Equations as Regularizer: Building Prior Knowledge into Machine-Learned Physics. Physical Review Letters, 126(3), Article 036401. https://doi.org/10.1103/physrevlett.126.036401
  11. Degrave, J., Hermans, M., Dambre, J., & wyffels, F. (2019). A Differentiable Physics Engine for Deep Learning in Robotics. Frontiers in Neurorobotics, 13, Article 6. https://doi.org/10.3389/fnbot.2019.00006
  12. Bezanson, J., Edelman, A., Karpinski, S., & Shah, V. B. (2017). Julia: A Fresh Approach to Numerical Computing. SIAM Review, 59(1), 65–98. https://doi.org/10.1137/141000671

Citations

  1. Kumar, T. A., Balents, L., Hsieh, T. H., & Melko, R. G. (2026). Autoregressive typical thermal states. Annals of Physics, 487, 170362. https://doi.org/10.1016/j.aop.2026.170362
  2. Liu, Y., Fan, X., & Wang, J.-X. (2026). JAX-AMG: A GPU-accelerated differentiable sparse linear solver library for JAX. SoftwareX, 35, Article 102966. https://doi.org/10.1016/j.softx.2026.102966
  3. Misery, A., Gravina, L., Santini, A., & Vicentini, F. (2026). Looking elsewhere: improving variational Monte Carlo gradients by importance sampling. Machine Learning: Science and Technology, 7(1), 015035. https://doi.org/10.1088/2632-2153/ae387f
  4. Shamim, M. A., Reinhardt, E. A. F., Chowdhury, T. A., Gleyzer, S., & Araujo, P. T. (2026). Probing quantum spin systems with Kolmogorov-Arnold neural network quantum states. Physical Review B, 113(4). https://doi.org/10.1103/3sxm-rwb2
  5. Yamazaki, K., Sakata, I., Konishi, T., & Kawahara, Y. (2026). Physics-inspired transformer quantum states via latent imaginary-time evolution. Physical Review Research, 8(3). https://doi.org/10.1103/bjxb-8tsk
  6. Sharma, L., Shokry, A., Nutakki, R., Simard, O., Ferrero, M., & Vicentini, F. (2026). Comparing symmetrized determinant neural quantum states for the Hubbard model. Physical Review B, 113(24), Article 245104. https://doi.org/10.1103/s3kd-bc4q
  7. Linteau, D., Moroni, S., Carleo, G., & Holzmann, M. (2026). Neural wave functions for high-pressure atomic hydrogen. Physical Review Research, 8(2), Article L022007. https://doi.org/10.1103/t72h-tkcx
  8. Kahn, A., Gravina, L., & Vicentini, F. (2026). Variational subspace methods and application to improving variational Monte Carlo dynamics. Quantum, 10, 2082. https://doi.org/10.22331/q-2026-04-23-2082
  9. Pochelu, P. (2025). JaxDecompiler: Redefining Gradient-Informed Software Design. In Communications in Computer and Information Science (pp. 41–50). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-77941-1_4
  10. Bezgin, D. A., Buhendwa, A. B., & Adams, N. A. (2025). JAX-Fluids 2.0: Towards HPC for differentiable CFD of compressible two-phase flows. Computer Physics Communications, 308, Article 109433. https://doi.org/10.1016/j.cpc.2024.109433
  11. Mauron, L., Denis, Z., Nys, J., & Carleo, G. (2025). Predicting topological entanglement entropy in a Rydberg analogue simulator. Nature Physics, 21(8), 1332–1337. https://doi.org/10.1038/s41567-025-02944-3
  12. Dash, S., Gravina, L., Vicentini, F., Ferrero, M., & Georges, A. (2025). Efficiency of neural quantum states in light of the quantum geometric tensor. Communications Physics, 8(1), Article 92. https://doi.org/10.1038/s42005-025-02005-4
  13. Rigo, M., Trotta, R., & Viel, M. (2025). jerald: high-fidelity dark matter, stellar mass, and neutral hydrogen maps from fast N-body simulations. Monthly Notices of the Royal Astronomical Society, 541(1), 166–178. https://doi.org/10.1093/mnras/staf948
  14. de Schoulepnikoff, P., Muñoz-Gil, G., Nautrup, H. P., & Briegel, H. J. (2025). Interpretable representation learning of quantum data enabled by probabilistic variational autoencoders. Physical Review A, 112(6), Article 062423. https://doi.org/10.1103/cwb8-y25k
  15. Piccioni, D., Ferrari, F., Fabrizio, M., & Becca, F. (2025). Insulating and metallic phases in the one-dimensional Hubbard-Su-Schrieffer-Heeger model: Insights from a backflow-inspired variational wave function. Physical Review B, 111(4), Article 045125. https://doi.org/10.1103/physrevb.111.045125
  16. Linteau, D., Pescia, G., Nys, J., Carleo, G., & Holzmann, M. (2025). Phase Diagram and Crystal Melting of Helium-4 in Two Dimensions. Physical Review Letters, 134(24). https://doi.org/10.1103/v1g7-m9k4
  17. Nutakki, R. P., Shokry, A., & Vicentini, F. (2025). Design principles of deep translationally symmetric neural quantum states for frustrated magnets. Physical Review Research, 7(4). https://doi.org/10.1103/ybgv-35jm
  18. Xu, K., Chai, D., Zhang, J., Lai, F., & Chen, K. (2025). Sequoia: An Accessible and Extensible Framework for Privacy-Preserving Machine Learning over Distributed Data. Proceedings of the ACM on Management of Data, 3(1), 1–27. https://doi.org/10.1145/3709742
  19. Babbar, R., Ravasi, M., & Hong, Y. (2025). PyLops-MPI - MPI Powered PyLops with mpi4py. Journal of Open Source Software, 10(105), 7512. https://doi.org/10.21105/joss.07512
  20. Gravina, L., Savona, V., & Vicentini, F. (2025). Neural Projected Quantum Dynamics: a systematic study. Quantum, 9, 1803. https://doi.org/10.22331/q-2025-07-22-1803
  21. Lin, J., Luo, D., Yao, X., & Shanahan, P. E. (2024). Real-time dynamics of the Schwinger model as an open quantum system with Neural Density Operators. Journal of High Energy Physics, 2024(6), Article 211. https://doi.org/10.1007/jhep06(2024)211
  22. Derlatka, K., Manna, M., Bulenok, O., Zwicker, D., & Arabas, S. (2024). Numba-MPI v1.0: Enabling MPI communication within Numba/LLVM JIT-compiled Python code. SoftwareX, 28, 101897. https://doi.org/10.1016/j.softx.2024.101897
  23. Carrer, M., Cezar, H. M., Bore, S. L., Ledum, M., & Cascella, M. (2024). Learning Force Field Parameters from Differentiable Particle-Field Molecular Dynamics. Journal of Chemical Information and Modeling, 64(14), 5510–5520. https://doi.org/10.1021/acs.jcim.4c00564
  24. Nys, J., Pescia, G., Sinibaldi, A., & Carleo, G. (2024). Ab-initio variational wave functions for the time-dependent many-electron Schrödinger equation. Nature Communications, 15(1), Article 9404. https://doi.org/10.1038/s41467-024-53672-w
  25. Rende, R., Viteritti, L. L., Bardone, L., Becca, F., & Goldt, S. (2024). A simple linear algebra identity to optimize large-scale neural network quantum states. Communications Physics, 7(1), Article 260. https://doi.org/10.1038/s42005-024-01732-4

1–25 of 43