Related Experiment Video
Updated: Jul 21, 2025

Design and Optimization Strategies of a High-Performance Vented Box
Published on: June 9, 2023
magnum.np: a PyTorch based GPU enhanced finite difference micromagnetic simulation framework for high level
Florian Bruckner1, Sabri Koraltan2, Claas Abert2
1Faculty of Physics, University of Vienna, Vienna, Austria. florian.bruckner@univie.ac.at.
Magnum.np is a new micromagnetic finite-difference library built using PyTorch. It offers efficient simulations on GPUs and enables rapid development of novel algorithms and inverse problem solutions.
Area of Science:
- Computational physics
- Materials science
- Software engineering
Background:
- Micromagnetic simulations are crucial for understanding magnetic materials.
- Existing codes can be complex and lack flexibility for novel algorithm development.
- PyTorch offers powerful tensor computation and automatic differentiation capabilities.
Purpose of the Study:
- To introduce magnum.np, a novel micromagnetic finite-difference library.
- To leverage PyTorch for enhanced maintainability, extensibility, and performance.
- To enable efficient simulations and facilitate the investigation of new modeling approaches and inverse problems.
Main Methods:
- Developed magnum.np as a micromagnetic finite-difference library using PyTorch.
- Utilized PyTorch's tensor operations and automatic differentiation (autograd).
- Benchmarked performance against state-of-the-art codes like mumax3.
Main Results:
- Magnum.np demonstrates competitive performance compared to mumax3.
- The library allows for efficient execution on GPUs and potentially TPUs.
- PyTorch's autograd feature enables handling of inverse problems.
Conclusions:
- Magnum.np provides a flexible and efficient platform for micromagnetic simulations.
- The PyTorch-based approach accelerates the implementation of new functionalities.
- This library opens new avenues for research in micromagnetics and inverse problem analysis.
More Related Videos
09:58Computer Numerical Control Micromilling of a Microfluidic Acrylic Device with a Staggered Restriction for Magnetic Nanoparticle-Based Immunoassays
Published on: June 23, 2022
11:29Novel 3D/VR Interactive Environment for MD Simulations, Visualization and Analysis
Published on: December 18, 2014