Skip to content

Releases

PINNStudio 1.6.0

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 06 Nov 22:15
ca2fe76

PINNStudio 1.6.0: a graphical platform for forward and inverse physics-informed neural networks. This is the software version for the PINNStudio paper (in preparation).

Install or update

pip install --upgrade pinnstudio

Or run the one-command installer again (installation guide).

Upgrading from 1.5.0

  • Python 3.11 or newer is required. Python 3.9 and 3.10 are no longer supported. Tested on Python 3.11 to 3.14 on Linux, Windows and macOS.
  • PySide6 instead of PyQt6. PINNStudio now depends on PySide6-Essentials, which updating installs.
  • Your files keep working. Saved problems, generated scripts, trained models and results from 1.5.0 open and run.
  • The license is unchanged: MIT. The interface libraries (PySide6, shiboken6, Qt) are used under the LGPL-3.0; see THIRD_PARTY_LICENSES.md.

Highlights

  • Examples:
    • 64 examples, with a Default / Tuned choice. Default solves an example the way its source does; Tuned loads the setting selected in the benchmarks.
    • 12 more DeepXDE examples now have inverse versions, and there is a new 3D cut-out Poisson example.
    • Phase-field examples name their outputs as their papers do.
  • Training methods: time-adaptive training can train one network through all time windows, with:
    • a growing time range (Wight & Zhao);
    • bc-PINN (Mattey & Ghosh);
    • initial-condition guided learning;
    • resampling.
  • Error Analysis also gives the relative L2 error over all reference times together, and draws a 3D view for 3D problems.
  • Parameter sweep can vary many more settings, including the seed, the network, the training methods and the named constants.
  • Correctness:
    • A pre-release audit of the generated code fixed a series of problems, with regression tests.
    • Several combinations that silently did the wrong thing are now refused with an explanation.
  • Export and saving:
    • Exported scripts agree with Solve in more cases.
    • Saved problems find PINNStudio's reference data on another computer.
  • Platforms:
    • Windows: Train on: CPU works with an NVIDIA GPU; training ends when PINNStudio ends; results folders too long for Windows' path limit are caught before training.
    • The installers choose a PyTorch build that runs on the computer's NVIDIA GPU, including older GPUs, check it with a small calculation, and fall back to the CPU build if needed.

The full list of changes is in CHANGELOG.md. The benchmark records behind the paper's results are in benchmarks/.

Package files (PyPI)

File SHA-256
pinnstudio-1.6.0-py3-none-any.whl d423823cb7e2bbea93b30ba436398ad2be9511c676c7c2a560b4a1160c1a5f31
pinnstudio-1.6.0.tar.gz a23746519c7a8bab770e898db988fba346275be89e7669015982b6cb427f14b2

Funded by National Science Foundation Award No. 2602175.

v1.5.0

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 21 Oct 06:53

See CHANGELOG.md for the full list of changes since 1.4.0.

v1.4.0

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 05 Oct 08:19

[1.4.0] - 2026-10-05

Added

  • Parameter Sweep: run a batch of training configurations from one setup instead of clicking Solve repeatedly and tracking results by hand. Enable it from the left panel (below Adaptive Training) and the shared Solve/Stop controls drive it, the Training Log streams every run in order, and the right panel shows the last completed run's own figure once the sweep finishes. Three ways to combine multiple swept parameters: one-at-a-time (vary each separately against a shared baseline), all combinations (full grid/cross product), and specified combinations (pair up each parameter's i-th value, COMSOL-style). Each run gets its own results subfolder (model checkpoint, plots, Error Analysis metrics) under the same Save to: location as a normal Solve, plus an auto-generated sweep_manifest.json/sweep_summary.csv summarizing every run.
  • Sweepable parameters span network architecture (hidden layers, neurons per layer, activation, kernel initializer, weight decay), collocation point counts and sampling distribution, every Optimizer Scheduler phase's iterations/learning rate/optimizer, every PDE/BC/IC loss weight, Inverse mode's trainable-variable initial guesses and observed-data loss weights, RAR's own parameters (training rounds, sampling points, points added per cycle, Adam/L-BFGS iterations), Time Adaptive's own parameters (per-step-group step count, IC grid resolution), and Input/Output Transform's per-axis/per-output scale — gated to only appear when the relevant mode/feature is actually selected.
  • See the Parameter Sweep section of the README for the full walkthrough.
  • Custom Geometry: build a domain from 2D primitives and boolean (CSG) operations instead of being limited to the built-in template shapes, extended to 3D with Cuboid and Sphere primitives plus the same CSG operations. Works anywhere a geometry is configured; train normally once a shape is built.
  • Plot Settings figure-size option (Default / Square / Wide / Custom) for every single-panel results plot -- Loss, Line, Surface, both Animation GIF types, Parameter Convergence, the Parametric-Sweep summary bar chart, and all of their Time-Adaptive equivalents -- configurable from both the Setup tab's Plot Settings dialog and the Restore tab's own viz-settings dialog. "Default" renders identically to before this option existed.
  • README: 1D Burgers and 2D Allen-Cahn (Wight & Zhao) results sections now include a "Restore & Visualize" animation (the trained model restored from its checkpoint and re-animated without retraining); the top example-gallery captions for Burgers and Allen-Cahn (Wight & Zhao) now link to their source papers; Custom Geometry is documented; Fisher-KPP and 3D Poisson (Sphere) sections gained their result images (surface/line comparisons, inverse convergence animations).
  • CI smoke-test workflow now also runs the Parameter Sweep codegen-integration test (test_sweep_param_expansion.py), the Training Callbacks visibility test (test_training_callbacks_visibility.py), the Custom Geometry test (test_custom_geometry.py), the Plot Settings figure-size test (test_plot_figsize_settings.py), and the Time-Adaptive Restore + Error Analysis regression test (test_restore_ta_error_analysis.py), alongside the existing sweep registry/panel tests.

Changed

  • The Parameter Sweep panel's own configuration (mode, sweep-parameter rows, add/refresh controls) now stays hidden until "Enable Parameter Sweep" is checked, instead of always taking up panel space for a feature that's off by default.
  • IC loss-weight rows are now hidden for steady-state problems, where they don't apply.
  • Removed "1D Surface Animation (GIF)" as a selectable plot type: a 1D animation frame only has one real spatial axis, and this type faked a second axis by stretching the solution across a cosmetic width rather than showing real data. Line Animation already covers 1D's time-animated case, and Surface (static) still shows the full x-t field.
  • Time-Adaptive's loss plot now shows the full run (every sub-domain and every optimizer-scheduler phase within it) instead of only the last phase of the last sub-domain.
  • Restore Model's prediction is now masked to the problem's real domain instead of its bounding box, matching how the main Setup tab already renders curved/non-rectangular geometries (e.g. Sphere).

Fixed

  • Restoring a combined Time-Adaptive model with Error Analysis enabled crashed with a NameError.
  • Restore Model crashed on steady-state problems.
  • The Solve button's readiness check incorrectly blocked training when a Custom Geometry was configured.
  • 3D surface comparison plots showed only a sparse handful of points for curved geometries (e.g. Sphere) instead of the full point cloud.
  • The Restore panel could briefly show the previous run's plot/animation before the new one loaded, instead of clearing it first.

v1.3.0

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 30 Sep 08:11
00d0646

[1.3.0] - 2026-09-30

Added

  • Fisher-KPP walkthrough in the README now includes the generated solution figure, and the hero tagline calls out that solving and visualization both happen entirely within PINNStudio.
  • CI smoke-test workflow now also runs the from-scratch (no-template) config validation regression test.

Changed

  • Widened both panel divider handles (control panel / plots, and Training Log / plots) from 2px to 4px, and reduced the Loss/Solution plot boxes' minimum size, so the dividers have real room to move on laptop-sized windows instead of running out of slack almost immediately.
  • Cross-platform font stylesheets now use a full fallback chain (Helvetica Neue, Ubuntu, Noto Sans, DejaVu Sans, Arial, sans-serif) instead of a single Windows-specific font name, avoiding unpredictable substitute-font metrics on macOS/Linux.

Fixed

  • A custom PDE built from scratch (no template selected) with the default Optimizer Scheduler enabled failed validation with "Phase 1 iterations must be positive", even though the visible scheduler phases had valid iteration counts. Config validation was checking the legacy (hidden, unused-when-scheduler-is-on) iteration fields instead of the active scheduler phases. Validation now checks whichever iteration source is actually active, and separately flags a scheduler with no phases or with all-zero-iteration phases.
  • Both panel splitters could snap fully closed on a small drag past their minimum size instead of stopping there, because childrenCollapsible was left at Qt's default of True. Both splitters now set childrenCollapsible(False).

v1.2.2

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 07 Sep 18:43

[1.2.2] - 2026-09-07

Fixed

  • Training crashed immediately on deepxde==1.10.0 (the minimum version this package requires) for every single-output PDE with a second derivative -- 1D Heat, 1D Allen-Cahn, 2D Heat, both 2D Allen-Cahn templates, and any custom single-output PDE using u_xx/u_yy/u_tt/u_xy/u_xt/u_yt, with ValueError: Do not use component for 1D y.. That deepxde version raises this error whenever component is passed to dde.grad.hessian() for a single-output model, even when it is explicitly 0; newer deepxde releases dropped this restriction, which is why it was not caught earlier. The PDE builder now omits component for single-output models and keeps passing it for multi-output models, matching what each deepxde version expects. Existing 1.2.0/1.2.1 users on an older or minimum-pinned deepxde should upgrade.

v1.2.1

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 07 Sep 09:09

[1.2.1] - 2026-09-07

Added

  • In-app update checker: on launch, PINNStudio checks PyPI in the background for a newer release and shows a dismissible banner with the upgrade command if one is available. Runs off the GUI thread and fails silently when offline or if PyPI is unreachable.

v1.2.0

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 07 Sep 08:55

[1.2.0] - 2026-09-07

Added

  • "Show inverse reference" guidance box in the Inverse PINN panel, explaining the trainable/unknown parameter and how to name it in a custom PDE.
  • Problem Type and Reference columns in the README's Built-in Templates table, linking each template to its source paper.
  • Mahmood Mamivand added as a co-author in the project citation.
  • Time Adaptive training now defaults on for both 2D Allen-Cahn templates, with a tuned IC grid resolution and transfer-learning optimizer.

Changed

  • Optimizer and Adaptive Training dropdowns now show friendlier names ("Adam", "L-BFGS", "Residual-based Adaptive Refinement (RAR)") without changing the underlying config values.
  • Time Adaptive training is now restricted to Forward problems -- it never correctly optimized the inverse parameter, so it no longer appears when Inverse is selected.
  • 2D Allen-Cahn (Wight & Zhao) Inverse mode now trains over t in [0, 2.5] instead of [0, 10]; the full time domain made the inverse problem far harder to converge. Forward mode is unchanged.
  • Default Adam iterations increased to 20000 for all 2D templates.
  • README overhauled with badges, quick links, a table of contents, reorganized template sections, and a note that finer Time Adaptive steps or more collocation points can improve accuracy.

Fixed

  • Reference data was not bundled into the installed package. A packaging bug meant a fresh pip install of 1.1.2 or earlier silently shipped without reference_data/, so Error Analysis and auto-loaded observation files were missing for every template. Existing 1.1.2 users should upgrade.
  • 2D geometry reconstruction in Time-Adaptive Error Analysis was hardcoded to a 1D interval, producing incorrect error metrics for 2D templates.
  • Inverse-parameter convergence plot's x-axis double-counted iterations across training phases.
  • Optimizer Scheduler now honors each template's configured iteration counts instead of always defaulting to 10000/10000 Adam/L-BFGS.
  • Corrected coefficients/domain in the 2D Allen-Cahn (Mattey & Ghosh) and 2D Cahn-Hilliard (Wight) equations to match their source papers.
  • "Line (time steps)" and "Animation Surface (GIF)" plots in Model Restore no longer crash on newer matplotlib versions (removed use of the deprecated/removed matplotlib.cm.get_cmap and QuadContourSet.collections APIs).
  • Fixed a Qt ampersand-mnemonic bug that mangled the "Boundary & Initial Conditions" and "Restore & Visualize" labels, plus README math rendering and Error Analysis colormap consistency.

Removed

  • 1D and 2D Cahn-Hilliard Quick Example templates removed from the GUI and README -- they are not yet numerically reliable. Their reference data remains in the repository for a future fix.
  • Leftover one-off patch scripts removed from the repo root.

v1.1.2

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 01 Sep 19:22

What's New in v1.1.2

  • Fixed a real crash affecting pip install pinnstudio on Windows: PyTorch's newest default build failed to load its own native DLLs on some Windows versions (WinError 1114), crashing the app the moment training started. torch is now pinned to a known-compatible version on Windows.
  • The GPU/torch mismatch warning now includes a pip install --upgrade pip step before the reinstall command, fixing a real case where an older pip failed to resolve PyTorch's package index (a flit_core build error).
  • Verified end-to-end on Linux, macOS, and Windows, using both install methods (install.sh/install.bat and pip install pinnstudio) — all six combinations now install and train with zero errors.

v1.1.1

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 01 Sep 01:19

What's New in v1.1.1

  • PINNStudio is now on PyPI — pip install pinnstudio works as a fast alternative install, now called out prominently at the top of the README.
  • Added a runtime check that warns you (with the exact fix command) if PyTorch can't see your GPU — helps PyPI installs, which skip the automatic GPU-driver matching that install.sh/install.bat do.
  • setup.py now includes full PyPI metadata (long description, classifiers, project links).

v1.1.0 — Windows support, simplified install, demo video

Choose a tag to compare

@AsfandyarKhan72 AsfandyarKhan72 released this 29 Aug 16:30

What's New

Full Windows support — v1.0.0 had several crashes on Windows that are now fixed: a PyQt6 DLL-loading error, Unicode encoding crashes when writing/running generated training scripts, a missing-/tmp-directory crash, and a crash from Windows file paths containing backslashes. Tested end-to-end on a real Windows machine, including GPU training.

Simpler install everywhere — install.sh (macOS/Linux) and install.bat (Windows) now handle the whole setup in one command each: virtual environment, dependencies, and automatic GPU-compatible PyTorch selection.

Demo video — a full walkthrough is now linked at the top of the README.

Documentation — the install instructions are now a complete, beginner-friendly step-by-step guide (including how to check for and install git/Python on each OS), and the built-in template equations render correctly (fixed some LaTeX formatting issues and added missing time domains).

Upgrading from v1.0.0

If you installed from source, just re-clone and reinstall:
​bash git clone https://github.com/AsfandyarKhan72/PINNStudio.git cd PINNStudio bash install.sh # or install.bat on Windows ​