TorchFSM
Fourier Spectral Method with PyTorch
TL;DR
TorchFSM is a PyTorch-based library for solving PDEs using Fourier spectral method. It is designed for physics-based deep learning and differentiable simulations.
Feature
-
Modular by design: TorchFSM offers a modular architecture with essential mathematical operators—like divergence, gradient, and convection—so you can build custom solvers like stacking building blocks, quickly and intuitively.
-
GPU-accelerated: TorchFSM leverages GPU computing to speed up simulations dramatically. Run complex 3D PDEs in minutes, not hours, with seamless hardware acceleration.
-
Batched simulation support: Built on PyTorch, TorchFSM enables batched simulations with varied initial conditions—ideal for parameter sweeps, uncertainty quantification, or ensemble analysis.
-
Differentiable and ML-ready: Fully differentiable by design, TorchFSM integrates naturally with machine learning workflows—for residual operators, differentiable physics, or dataset generation.
Documentations
Check 👉 here for more details.
Metadata
Release files for torchfsm 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| torchfsm-0.0.6.tar.gz | 238.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torchfsm-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 348.3 kB
Release files / torchfsm-0.0.6.tar.gz
| Download URL | torchfsm-0.0.6.tar.gz |
|---|---|
| Size | 238.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7a26f6de605c62f02ca209835baefe1ab43aa01e5ec1edd4169242ad1b7a01d
|
|
BLAKE2b-256 checksum How to use checksums |
b95f944d58d5dbe0990d618ada0c5649d35c885ede004f84dd6a3c8747412684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.14
|
Release files / torchfsm-0.0.6-py3-none-any.whl
| Download URL | torchfsm-0.0.6-py3-none-any.whl |
|---|---|
| Size | 110.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d14ec5ecbce2be6a204cc768e37974e583f3302c15a0c725a5c709db773900f4
|
|
BLAKE2b-256 checksum How to use checksums |
e65d3e1dbc1faebb5d430fbd36e4cf208f1a1388297b379b67b3186c853d1c4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.14
|