Skip to content

Releases: PaddlePaddle/PaddleScience

v1.3.0

22 Jul 12:00
c462264
Compare
Choose a tag to compare

PaddleScience 1.3.0 Release Notes

PaddleScience 1.3.0 is now available with multiple feature updates, documentation, code optimizations and bug fixes. This update brings numerous enhancements that improve overall performance and usability. Some of the key updates include:

Examples

  • Add forward analysis of control arm, poisson1d, fractional diff, CFDGCN, RegAE, YingLong, allen_cahn, ldc 2d(Re1000/3200), nls-mb, GraphCastNet in total 10 examples and their corresponding network structures.

Module

  • Add network structure including YingLong, ModifiedMLP, PirateNet.
  • Add gaussian integration
  • Add ReloBRalo
  • Add 1-D fractional differentiation
  • Add writer module
  • Add save_tecplot_file
  • Add finetune interface
  • Add ema module
  • Add chamfer loss
  • Add montecarlo integrate

Improvements

[WIP][Add]Add forward analysis of control arm example by @lijialin03 in https://github.com//pull/642
[Fix]Fix arch.freeze/unfreeze and change eval of control_arm example by @lijialin03 in https://github.com//pull/673
[Fix] Fix DDP wrapper for symbolic computation by @HydrogenSulfate in https://github.com//pull/675
[Fix] add exclude_keys for amgnet yaml and fix document typo by @HydrogenSulfate in https://github.com//pull/676
【benchmark】fix gpu_mem unit by @mmglove in https://github.com//pull/678
[Fea] Add setuptools_scm to manger version of paddlesci by @HydrogenSulfate in https://github.com//pull/679
[Fix] Add _version.py to .gitignore and refine symbolic module by @HydrogenSulfate in https://github.com//pull/684
[Fix] Remove restrict for version of mkdocs by @HydrogenSulfate in https://github.com//pull/685
[Fea] Add poisson1d for gPINN algorithm and fix LBFGS initialization for compatible by @HydrogenSulfate in https://github.com/PaddlePaddle/PaddleScience/pull/
682 [Fix] Fix doc and requirements.txt by @HydrogenSulfate in https://github.com//pull/692
[Fea] add gaussian integration by @HydrogenSulfate in https://github.com//pull/683
[Example]【快乐开源】迁移 CFDGCN 案例至 PaddleScience by @MayYouBeProsperous in https://github.com//pull/609
[Fea] Add ReloBRalo by @HydrogenSulfate in https://github.com//pull/694
[Doc] Fix ddoc by @HydrogenSulfate in https://github.com//pull/697
[Fix] Fix docstring of AGDA and add assert for ReloBRalo by @HydrogenSulfate in https://github.com//pull/698
[PreCommit] Update pretty-format-json args by @DrownFish19 in https://github.com//pull/700
【PPSCI Doc No.76】 by @NKNaN in https://github.com//pull/701
[Fea] Add fractional diff by @HydrogenSulfate in https://github.com//pull/702
[Doc] update docs by @HydrogenSulfate in https://github.com//pull/705
[Fix] Fix float type from fp64 to fp32 for area and sdf by @HydrogenSulfate in https://github.com//pull/707
【Hackathon 5th No.62】GraphCast: Learning skillful medium-range global weather forecasting by @DrownFish19 in https://github.com/PaddlePaddle/PaddleScience/
pull/699 [Fix]Add logger initialation of topopt example by @lijialin03 in https://github.com//pull/704
【PPSCI Doc No.1】ppsci.data.process.transform.CropData by @Liyulingyue in https://github.com//pull/687
【PPSCI Doc No.8】ppsci.data.dataset.ERA5SampledDataset by @Liyulingyue in https://github.com//pull/691
[Fix&Doc] Update homepage and optimize several transforms by @HydrogenSulfate in https://github.com//pull/708
[Fix] Fix weight dtype and bug in symbolic by @HydrogenSulfate in https://github.com//pull/709
heat exchanger by @liaoxin2 in https://github.com//pull/693
【PPSCI Doc No.75, 77-85】 by @NKNaN in https://github.com//pull/703
[Hydra] Change euler_beam code to hydra style by @HydrogenSulfate in https://github.com//pull/710
【PPSCI Doc No.2-7】ppsci.data.process.transform by @Liyulingyue in https://github.com//pull/688
[Enh] add auto collation for speed up data loading by @HydrogenSulfate in https://github.com//pull/712
[Doc] add -nc to 'wget' for skipping files already exist by @HydrogenSulfate in https://github.com//pull/713
[Enh] Avoid multiplication with weight 1 if weight is None by @HydrogenSulfate in https://github.com//pull/714
[Doc] Update README by @HydrogenSulfate in https://github.com//pull/715
[Doc] Fix deepcfd F-18 image url(test=document_fix) by @HydrogenSulfate in https://github.com//pull/716
[Fix] Fix euler_beam in benchmark by @HydrogenSulfate in https://github.com//pull/718
【快乐开源】迁移 CFDGCN 案例至 PaddleScience by @MayYouBeProsperous in https://github.com//pull/720
[Fea] Add writer module by @HydrogenSulfate in https://github.com//pull/719
[Fix] Update for better logging information by @HydrogenSulfate in https://github.com//pull/717
[Fix] Restore unit for ips by @HydrogenSulfate in https://github.com//pull/725
【PPSCI Doc No.86-92】 by @NKNaN in https://github.com//pull/723
Heat exchanger by @liaoxin2 in https://github.com//pull/721
Tipc fix 1226 by @wangguan1995 in https://github.com//pull/726
[doc]add eval index for pre-trained models of topopt example(test=doc… by @lijialin03 in https://github.com//pull/727
add euler beam doc by @zhiminzhang0830 in https://github.com//pull/728
【PPSCI Doc No.10、11、30】 by @MayYouBeProsperous in https://github.com//pull/724
【Hackathon 5th No.60】 PhyGeoNet: Physics-Informed Geometry-Adaptive Convolutional Neural Networks for Solving Parameterized Steady-State PDEs on Irregular
Domain by @DUCH714 in https://github.com//pull/706 [Fea] Add save_tecplot_file by @HydrogenSulfate in https://github.com//pull/722
【PPSCI Doc No.18、19】 by @MayYouBeProsperous in https://github.com//pull/732
[Fea]Add trapezoid integrate by @lijialin03 in https://github.com//pull/729
[Refine] Remove manually setting seed and logger by callback by @HydrogenSulfate in https://github.com//pull/735
[Fix] Fix euler_beam doc by @HydrogenSulfate in https://github.com//pull/734
【PPSCI Doc No.93-96, 98-102】 by @NKNaN in https://github.com//pull/730
Bubble net by @liaoxin2 in https://github.com//pull/736
update PhyGeoNet by @zhiminzhang0830 in https://github.com//pull/731
【Hackathon 5th No.53】NSFnets (Navier-Stokes Flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations by @DUCH714 in
https://github.com//pull/695 [Doc] Add DeePMD-kit description by @HydrogenSulfate in https://github.com//pull/739
[Fix] Fix doc by @HydrogenSulfate in https://github.com//pull/741
Surrogate fix by @wangguan1995 in https://github.com//pull/740
[Fea] Support derivative nodes fusing for any order by @HydrogenSulfate in https://github.com//pull/745
[Fix] Fix heat_exchanger equation by @HydrogenSulfate in https://github.com//pull/746
Poiseuille Flow Fix by @wangguan1995 in https://github.com//pull/743
[Fix] Fix fuse derivative corner case and add UT by @HydrogenSulfate in https://github.com//pull/748
[Fix] Fix scm tools by @HydrogenSulfate in https://github.com//pull/749
update phygeonet doc by @zhiminzhang0830 in https://github.com//pull/747
[Doc] Refine documents and fix typo by @HydrogenSulfate in https://github.com//pull/750
[Doc] update quick_start by @HydrogenSulfate in https://github.com//pull/751
【PPSCI Doc No.12、13、14、15、16、17】ppsci.arch.Arch by @megemini in https://github.com//pull/752
[Fix] Fix docstrings and note by @HydrogenSulfate in https://github.com//pull/754
[Enh] Add finetune interface by @HydrogenSulfate in https://github.com//pull/755
【PPSCI Doc No.20】ppsci.arch.DeepPhyLSTM by @megemini in https://github.com//pull/756
[Fix] Clear differentiation cache in visu_forward to avoid OOM problem by @HydrogenSulfate in https://github.com//pull/757
【PPSCI Doc No.103】 by @ooooo-create in https://github.com//pull/758
【PPSCI Doc No.104-105】 by @ooooo-create in https://github.com//pull/759
【Hackathon 5th No.63】 PhyCRNet: Physics-informed Convolutional-Recurrent Network for So...
Read more

v1.2.0

27 Nov 11:08
Compare
Choose a tag to compare

PaddleScience 1.2.0 Release Notes

PaddleScience 1.2.0 is now available with multiple feature updates, documentation, code optimizations and bug fixes. This update brings numerous enhancements that improve overall performance and usability. Some of the key updates include:

Examples

  • Add ShockWave, Bubble, DeepCFD, DeepONet, IDE, FPDE, HeatPINN, Nowcasting(inference only), TopOpt, Biharmonic2D, PhyLSTM, CFD-GCN, Deep-Spatial-Temporal, DU_CNN, PIRBN and XPINNS, in total 15 examples and their corresponding network structures.

Module

  • Add network structure including AMGNet, DeepONet, DeepPhyLSTM, UNetEx, refactor GAN for tidy and better readability code.
  • Add Siren activation function.
  • Add create_graph and retain_graph options for jacobian and hessian for saving memory in which creating reverse graph is unnecessary.
  • Add compute_sdf_derivatives option to compute discrete derivative of SDF when it is used in given equations.
  • Add MeshAirfoilDataset, MeshCylinderDataset, NPZDataset, IterableNPZDataset in dataset. Graph data is preliminarily supported with PGLBox and adapted default_collate_fn.
  • Change all equations from python closure style to sympy style with symbolic computation supported in ppsci/utils/symbolic.py.
  • Add ppsci.experimental and ppsci.probability module for supporting API call for mathematical usage.
  • Add ppsci.loss.mtl module for Multi-Task Learning algorithms, PCGrad and AGDA is included preliminarily.
  • Split original L2Rel into L2Rel and MeanL2Rel, the former is computed along entire dataset(more commonly usage), while the latter is computed element-wisely for certain usage.
  • Add run_check_mesh for checking whether ppsci.geometry.Mesh module works properly.

Improvements

  • Support running code with hydra configuration for better experimental management. For details, see user guide - hydra and hydra intro.
  • Solver.predict can return np.ndarray data instead of Tensor data by setting return_numpy=True.
  • Numerous type-hints and annotations were added for better development&reading experience.

Document and bug fix

  • Completely new home page with full example list and all important information: https://paddlescience-docs.readthedocs.io/zh/release-1.2/.
  • Training/evaluation script are provided with pretrained model at the beginning of document of each example for quick experience and reproduction.
  • Correct almost all typos in code, such as visulzie --> visualize.

We recommend upgrading paddlescience to version 1.2.0 or the develop branch.

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

25 Jul 02:52
3315799
Compare
Choose a tag to compare

PaddleScience 1.1.0 Release Notes

PaddleScience 1.1.0 is now available with multiple feature updates, documentation, code optimizations and bug fixes. This update brings numerous enhancements that improve overall performance and usability. Some of the key updates include:

Examples

Bracket, Aneurysm, DeepHPMs, LabelFree-DNN-Surrogate, hPINNs, tempoGAN, and their corresponding network structures are added.

Module

Support for SDF (Signed Distance Function) to all basic geometries; adding Stan activation functions; and adding FunctionalLoss and FunctionalMetric to support customized complex loss and metric.

Improvements

Preliminarily support for the WandB experimental recording module(how-to-use); adding unit tests for the Equation module; and adding CUDA 11.6-based docker file.(Thanks to all contributors from community)

Document and bug fix

Adding usage guides, development and reproduction guides ; fixing multiple docstring formula description errors in the Equation module.

We recommend upgrading paddlescience to version 1.1.0 or the develop branch.

v1.0.0

30 May 12:36
a62b021
Compare
Choose a tag to compare

PaddleScience 1.0.0 Release Notes

The PaddleScience 1.0.0 version brings a completely new design of APIs and modules to support different training paradigms in one toolkit: mechanism-driven, data-driven and mechanism-data mixed case. The key features are as follows:

  • Newly designed modules

    • Built-in high-frequency usage API, such as PDE, BoundaryConstraint, InteriorConstraint.
    • Decoupled training/evaluation/visualization.
    • Automatic result visualization.
    • Support resume training, transfer learning, automatic mixed precision, gradient accumulation and distributed parallell training.
  • Enhanced features

    • Enhanced geometry module, including interior/boundary sampling and boolean operations, as well as STL-based SDF(signed distance field) weighing.
    • Support dirichlet, nuemann, robin and custom boundary condition.
    • Multiple model architecture such as MLP, Transformer.
    • Support high-order differentiation related API, such as jacobian/hessian and L-BFGS optimizer.
  • Varied examples

    • 10+ classical examples covering fluid, structure, meteorology and more areas.
    • Detailed user document and end-to-end tutorial.
    • Quickly example experience in AIStudio.
  • User friendly

    • Structured logger.
    • Comprehensive docstrings and type hints.

PaddleScience 1.0.0-beta0 Release Note

19 May 14:24
fe61474
Compare
Choose a tag to compare
v1.0.0-beta0

this is version v1.0.0-beta0