Skip to content
Merged

0.2 #401

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
a3d8889
Update version
ndem0 Feb 8, 2024
e4c6951
Update testing_pr.yml
ndem0 Feb 8, 2024
2b71e01
in progress
ndem0 Jun 18, 2024
b7d512e
optimizer and scheduler classes
ndem0 Jun 21, 2024
686b557
minor
ndem0 Aug 1, 2024
5245a0b
refact
ndem0 Aug 5, 2024
9d9c2aa
supervised working
ndem0 Aug 8, 2024
f0d68b3
refact
ndem0 Sep 9, 2024
30f865d
Fix bugs in 0.2 (#344)
FilippoOlivo Sep 12, 2024
2be5794
Fix SupervisedSolver GPU bug and implement GraphSolver (#346)
FilippoOlivo Sep 21, 2024
a529241
Delete useless classes (move into optim folder)
FilippoOlivo Sep 28, 2024
a779007
Update __init__.py in pina folder
FilippoOlivo Sep 28, 2024
c53c3d5
Implement definition of LabelTensor from list, implement cat method (…
FilippoOlivo Sep 28, 2024
0353ffd
Update docstring in LabelTensor class
FilippoOlivo Sep 28, 2024
16351f9
Minor update on docstring in LabelTensor class
FilippoOlivo Sep 30, 2024
a888141
Add concatenation test for LabelTensor
FilippoOlivo Sep 30, 2024
fd16fcf
new conditions
dario-coscia Oct 3, 2024
aef5a5d
sampling mode domain added
dario-coscia Oct 3, 2024
1bd3f40
* Adding Collector for handling data sampling/collection before datas…
dario-coscia Oct 4, 2024
1d3df2a
update condition_interface
dario-coscia Oct 4, 2024
fdb8f65
Filippo0.2 (#361)
dario-coscia Oct 4, 2024
7528f6e
Update of LabelTensor class and fix Simplex domain (#362)
FilippoOlivo Oct 10, 2024
b9753c3
minor changes/ trainer update
dario-coscia Oct 10, 2024
c9304fb
Implement Dataset, Dataloader and DataModule class and fix Supervised…
FilippoOlivo Oct 16, 2024
1bc1b3a
Correct codacy warnings
FilippoOlivo Oct 22, 2024
3e30450
Correct codacy warnings
FilippoOlivo Oct 22, 2024
eb146ea
Fix bug and improve __getitem__
FilippoOlivo Oct 23, 2024
ccc5f5a
Add Graph support in Dataset and Dataloader
FilippoOlivo Oct 23, 2024
ea3d192
Improve efficiency and refact LabelTensor, codacy correction and fix …
FilippoOlivo Oct 23, 2024
dd43c83
Codacy correction
FilippoOlivo Oct 31, 2024
a27bd35
Implementation of DataLoader and DataModule (#383)
FilippoOlivo Nov 27, 2024
b52112e
remove unnecessary dependency
dario-coscia Nov 27, 2024
6da74ca
Fix bugs (#385)
FilippoOlivo Nov 27, 2024
3c95441
Revert "Fix bugs (#385)" (#386)
dario-coscia Nov 27, 2024
f748b66
Fix bugs (#387)
FilippoOlivo Nov 28, 2024
0adc013
sorted variables
GiovanniCanali Dec 18, 2024
9e0dc8f
sort variables in operations
GiovanniCanali Dec 18, 2024
03b16b5
translate setup to pyproject
ndem0 Jan 16, 2025
f2340cd
fix some tests
ndem0 Jan 16, 2025
a6f0336
Add check conditions-solver consistency
FilippoOlivo Jan 16, 2025
81830ec
fix laplacian
GiovanniCanali Jan 20, 2025
08eaf56
Codacy
GiovanniCanali Jan 20, 2025
d51de02
update test laplacian
GiovanniCanali Jan 20, 2025
4bec5bf
Update import from lightning.pytorch (#409)
GiovanniCanali Jan 22, 2025
7706ef1
Simplify LabelTensor class, fix #395, add docstrings, and resolve Pyt…
FilippoOlivo Jan 21, 2025
3ea05e8
Improve DataLoader performance when batch_size=None (#423)
FilippoOlivo Jan 23, 2025
6b122d8
Bug fix PR #423
FilippoOlivo Jan 23, 2025
9aed1a3
Revert "Bug fix PR #423" (#426)
dario-coscia Jan 23, 2025
a899327
fix tests
ndem0 Jan 23, 2025
afb1bca
temporary comment tests
ndem0 Jan 23, 2025
629a6ee
Additional improvement related to #395
FilippoOlivo Jan 24, 2025
0194fab
Improvement in DDP and bug fix in DataModule (#432)
FilippoOlivo Jan 28, 2025
08777d9
Update tutorial to work with domain folder
MatteB03 Jan 29, 2025
7d83203
Update tutorial to work with domain folder
MatteB03 Jan 30, 2025
c925fad
Update labels
FilippoOlivo Feb 3, 2025
4fdb564
Update .gitignore
FilippoOlivo Feb 3, 2025
e63c3d9
Add Graph class and tests for Graph and Collector + Dataloader refact…
FilippoOlivo Jan 16, 2025
86fe412
Implement Graph Neural Operator #231
FilippoOlivo Feb 4, 2025
4c5e156
Implement PinaGraphDataset
FilippoOlivo Feb 4, 2025
54a62de
Bug fix in GNO and implementation of tests
FilippoOlivo Feb 4, 2025
78b276d
Add TemporalGraph class
FilippoOlivo Feb 4, 2025
bbdd5d4
Refactor Graph class to support custom edge attribute logic
FilippoOlivo Feb 5, 2025
bd24b0c
Refactor GNO model and enhance Graph class documentation and error ha…
FilippoOlivo Feb 5, 2025
6964f4e
Rename classes and modules for GNO
FilippoOlivo Feb 5, 2025
86405ef
add submodule installation in toml
ndem0 Feb 6, 2025
7702427
Bug fix in Graph class
FilippoOlivo Feb 9, 2025
effd1e8
clean logic, fix problems for tutorial1
ndem0 Feb 6, 2025
b4c5fef
tutorial 1 working (no plot)
ndem0 Feb 6, 2025
ee7ad79
gitignore lighting_logs, not the content
ndem0 Feb 6, 2025
8477584
fix tests
ndem0 Feb 6, 2025
c4749ef
Use Poisson problem from problems zoo in test_problem and minor fix i…
FilippoOlivo Feb 6, 2025
004cbc0
problem.input_pts takes into consideration also input_points coming f…
FilippoOlivo Feb 6, 2025
f578b2e
Introduce add_points method in AbstractProblem, removed unused commen…
FilippoOlivo Feb 6, 2025
1952247
Implement custom sampling logic
FilippoOlivo Feb 7, 2025
c6f1aaf
Update Condition notation & domains import in tutorials
MatteB03 Feb 7, 2025
780c492
Add Supervised Problem (#451)
FilippoOlivo Feb 13, 2025
9cae9a4
Update solvers (#434)
dario-coscia Feb 17, 2025
571ef7f
Add functionalities in DataModule and data loaders + tests datasets a…
FilippoOlivo Feb 18, 2025
dfd6d7b
modify pyproject.toml
dario-coscia Feb 17, 2025
9c9d4fe
Fix bug in Collector with Graph data (#456)
FilippoOlivo Feb 20, 2025
810d215
Modify pina.__init__.py and rm useless .py files
dario-coscia Feb 19, 2025
df673ca
Renaming
dario-coscia Feb 19, 2025
886bd23
Back compatibility 0.1
dario-coscia Feb 19, 2025
ff43a74
Rename files
FilippoOlivo Feb 21, 2025
ed0a8bd
renaming
GiovanniCanali Feb 21, 2025
4c4482b
Update installations and workflows
dario-coscia Feb 24, 2025
42ab1a6
Formatting
dario-coscia Feb 24, 2025
1bb35f7
Fix bug in handling labels with LabelTensor (#460)
MatteB03 Feb 25, 2025
d9fcc46
Plotter back compatibility (#462)
dario-coscia Feb 26, 2025
a2c08ae
update toml + doc (#467)
dario-coscia Feb 26, 2025
c3aaf5b
update trainer (#466)
dario-coscia Feb 26, 2025
375f7f8
Fixing self adaptive pinns (#469)
GiovanniCanali Feb 28, 2025
d68b51f
Fix bug (#465)
FilippoOlivo Mar 1, 2025
4c3e305
fixing competitive pinn (#470)
dario-coscia Mar 1, 2025
ab6ca78
Simplify Graph class (#459)
FilippoOlivo Mar 3, 2025
4cb0987
update shuffle trainer.py
dario-coscia Mar 5, 2025
bdad144
add linear weight update callback (#474)
GiovanniCanali Mar 6, 2025
a0cbf1c
Improve conditions and refactor dataset classes (#475)
FilippoOlivo Mar 7, 2025
e3790e0
update logger kwargs trainer
dario-coscia Mar 7, 2025
4177bfb
Fix Codacy Warnings (#477)
FilippoOlivo Mar 10, 2025
2ae4a94
Add test supervised solver for graph based models (#480)
FilippoOlivo Mar 10, 2025
f67467e
Adding new problems to problem.zoo (#484)
GiovanniCanali Mar 12, 2025
8b797d5
Changes to Tensor labels handling
MatteB03 Feb 25, 2025
d83ca3a
Update tutorials 1 through 12 to current version 0.2
MatteB03 Feb 26, 2025
18edb40
New tutorial14 on Lid-Cavity snapshot prediction
MatteB03 Feb 26, 2025
10ea59e
Add plot in tutorials 1,3,4,9
MatteB03 Feb 27, 2025
14a6008
Update tutorials 1 through 12 to current version 0.2
MatteB03 Feb 26, 2025
98d4e1f
Add plot in tutorials 1,3,4,9
MatteB03 Feb 27, 2025
0019889
Update tutorial 1,3,4,9 plots
MatteB03 Mar 4, 2025
5c645b2
Tutorials WIP
MatteB03 Mar 6, 2025
ae9187a
rm unnecessary files
dario-coscia Mar 6, 2025
0297344
Slim plots in tutorial3
MatteB03 Mar 6, 2025
2aac9d1
Update Condition notation, delete error outputs and output folders
MatteB03 Mar 7, 2025
dc71d32
Working Tutorial13
MatteB03 Mar 7, 2025
7ef39f1
update tutorial3
dario-coscia Mar 7, 2025
17792ca
Update tutorials 1 through 7
MatteB03 Mar 8, 2025
9e55746
Update tutorials 8 through 14
MatteB03 Mar 9, 2025
b38b089
Updates to tutorial and run post codacy changes
MatteB03 Mar 10, 2025
67a2b07
Update Tensorboard use
MatteB03 Mar 11, 2025
6ae3016
Restore .pylintrc (#483)
FilippoOlivo Mar 12, 2025
632934f
Update callbacks and tests (#482)
dario-coscia Mar 13, 2025
53d23ef
Update CONTRIBUTING.md (#486)
ndem0 Mar 13, 2025
5b656b5
Create CODE_OF_CONDUCT.md (#487)
ndem0 Mar 13, 2025
4b47603
Create PULL_REQUEST_TEMPLATE.md (#488)
ndem0 Mar 13, 2025
beee4cd
Create SECURITY.md (#489)
ndem0 Mar 13, 2025
6ce0baf
Update Tutorials 0.2 (#490)
dario-coscia Mar 13, 2025
635e3b3
Documentation and docstring graph and data
FilippoOlivo Mar 10, 2025
9e40b58
Doc LabelTensor
FilippoOlivo Mar 11, 2025
0e5275f
Black formatting on LabelTensor
FilippoOlivo Mar 11, 2025
63028f2
Doc conditions
FilippoOlivo Mar 11, 2025
56e45c6
Small fixes in conditions
FilippoOlivo Mar 11, 2025
62b4cb0
Black formatting on condition
FilippoOlivo Mar 11, 2025
99d2e70
Codacy fix on condition
FilippoOlivo Mar 11, 2025
cbbaa40
Doc data
FilippoOlivo Mar 11, 2025
415dbcc
Update doc condition
FilippoOlivo Mar 12, 2025
1ba3c7a
Update doc data
FilippoOlivo Mar 12, 2025
1926e64
Update doc LT
FilippoOlivo Mar 12, 2025
fbf6fbb
Black formatting
FilippoOlivo Mar 12, 2025
3ca5030
Doc collector
FilippoOlivo Mar 12, 2025
6c174dc
Black formatting collector
FilippoOlivo Mar 12, 2025
76bb2cf
Minor update
FilippoOlivo Mar 12, 2025
bce9eb6
beginning of domain doc
GiovanniCanali Mar 12, 2025
6f97799
Fix doc condition
FilippoOlivo Mar 12, 2025
59e6ee5
Fix doc data
FilippoOlivo Mar 12, 2025
ae796ce
Fix doc
FilippoOlivo Mar 12, 2025
f587c3b
Other fixes
FilippoOlivo Mar 12, 2025
dc5c5c2
Black formatting
FilippoOlivo Mar 12, 2025
ce35af6
fix doc domain
GiovanniCanali Mar 12, 2025
0b7fc80
fix equation doc
GiovanniCanali Mar 12, 2025
31de079
Fix codacy
FilippoOlivo Mar 12, 2025
cbf886e
fix doc loss and codacy
GiovanniCanali Mar 12, 2025
07fa4cc
Update collector.py
FilippoOlivo Mar 12, 2025
84995b1
Update collector.py
FilippoOlivo Mar 12, 2025
27857f4
fix operator doc
GiovanniCanali Mar 12, 2025
9e4a8e8
Additional fix in condition
FilippoOlivo Mar 12, 2025
7a8a534
Additional fix in collector
FilippoOlivo Mar 12, 2025
c1be748
Black formatting
FilippoOlivo Mar 12, 2025
df5f6ec
fix utils and trainer doc
GiovanniCanali Mar 13, 2025
3606d2e
fix optim doc
GiovanniCanali Mar 13, 2025
66b49ea
fix problem doc
GiovanniCanali Mar 13, 2025
777af3a
start refactoring
dario-coscia Mar 13, 2025
b15e4c4
adaptive_functions rst
dario-coscia Mar 13, 2025
d411543
update rsts
dario-coscia Mar 13, 2025
7dd954c
Fix doc data
FilippoOlivo Mar 12, 2025
65534c9
Improve doc condition
FilippoOlivo Mar 13, 2025
9a26c94
update rst
dario-coscia Mar 13, 2025
28ef4c8
fix pinn doc
GiovanniCanali Mar 13, 2025
3f8665b
updating rst
dario-coscia Mar 13, 2025
5d908a2
fix doc solver
GiovanniCanali Mar 13, 2025
e0ad4dc
fix rendering part 1
GiovanniCanali Mar 13, 2025
d2e3f45
fix rendering part 2
GiovanniCanali Mar 13, 2025
c164db8
black formatter
GiovanniCanali Mar 13, 2025
10ccae3
Tmp fixes
FilippoOlivo Mar 14, 2025
bc62ef9
Fix rendering graph
FilippoOlivo Mar 14, 2025
c92193d
Fix rendering LT
FilippoOlivo Mar 14, 2025
def8f5a
Black formatting
FilippoOlivo Mar 14, 2025
8dc682c
fix doc model part 1
GiovanniCanali Mar 14, 2025
05105dd
Fix conditions rendering
FilippoOlivo Mar 14, 2025
001d1fc
Fix rendering and codacy
FilippoOlivo Mar 14, 2025
f9881a7
fix doc model part 2
GiovanniCanali Mar 14, 2025
0fcb78b
modify poisson inv
dario-coscia Mar 14, 2025
aea24d0
standardize module docstring
GiovanniCanali Mar 14, 2025
0146155
Automatize Tutorials html, py files creation (#496)
dario-coscia Mar 15, 2025
acdb4c5
Remove MNIST data from tutorial 4
FilippoOlivo Mar 15, 2025
dcee5d9
update workflow, rm tutorial 4 data
dario-coscia Mar 15, 2025
5a3db1e
update html dir
dario-coscia Mar 15, 2025
9c7a9a0
remove tutorials html
dario-coscia Mar 15, 2025
f1da0e8
add workflow_dispatch
dario-coscia Mar 15, 2025
3712631
trigger workflow tutorials
dario-coscia Mar 15, 2025
e917753
export tutorials changed in c161138 (#498)
github-actions[bot] Mar 15, 2025
2526da3
update doc
dario-coscia Mar 17, 2025
3c301ac
formatting
dario-coscia Mar 17, 2025
c627346
modify automatic batching doc
dario-coscia Mar 17, 2025
2a2eb9c
update contributing
dario-coscia Mar 17, 2025
f34bc55
update cite/team
dario-coscia Mar 17, 2025
7cbe658
format code
dario-coscia Mar 17, 2025
68583b5
adding layout.html template
dario-coscia Mar 17, 2025
43117fc
update datamodule doc
dario-coscia Mar 17, 2025
73f512b
update tut11
dario-coscia Mar 17, 2025
01b29cc
export tutorials changed in 762dc7f (#500)
github-actions[bot] Mar 17, 2025
6ac2f28
formatting
dario-coscia Mar 17, 2025
b5f5be8
doc test workflow update
dario-coscia Mar 17, 2025
7c42153
docs->doc in testing_doc.yml
dario-coscia Mar 17, 2025
2730791
automodule loss + update doc workflow
dario-coscia Mar 17, 2025
1dd34f2
modify conf.py
dario-coscia Mar 17, 2025
23705e6
update workflow file
dario-coscia Mar 17, 2025
aab3a4e
modify doc workflows
dario-coscia Mar 17, 2025
7f89c4f
update versioning sphinx
dario-coscia Mar 17, 2025
1b2154d
Add docstring for repeat in DataModule
FilippoOlivo Mar 17, 2025
070b513
Minor fix
FilippoOlivo Mar 17, 2025
2b09cb9
Remove useless line in sphinx config file
FilippoOlivo Mar 18, 2025
716d43f
Neural Tangent Kernel integration + typo fix (#505)
AleDinve Mar 19, 2025
0c4ab3e
renaming
dario-coscia Mar 19, 2025
da9af00
fix versioning for toml file
ndem0 Mar 19, 2025
0763e7c
update github actions
ndem0 Mar 19, 2025
69283e7
Fix tester.yml coverage
ndem0 Mar 19, 2025
3a7a4a0
update doc
dario-coscia Mar 19, 2025
9c77523
Fix pod_block.py
ndem0 Mar 19, 2025
ccbafc6
Fix README
FilippoOlivo Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes #ISSUE_NUMBER
35 changes: 0 additions & 35 deletions .github/workflows/ci.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/create-release.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/deployer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "Deployer"

on:
push:
tags:
- "*"

jobs:

docs: #######################################################################
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Python dependencies
run: python3 -m pip install .[doc]

- name: Build Documentation
run: |
make html
working-directory: docs/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
#deploy_key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
publish_dir: ./docs/build/html
allow_empty_commit: true

release_github: #############################################################
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

pypi: #######################################################################
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install build
run: >-
python -m pip install build --user

- name: Build a binary wheel and a source tarball
run: >-
python -m build --sdist --wheel --outdir dist/ .

- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
23 changes: 0 additions & 23 deletions .github/workflows/draft-pdf.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: Black Formatter
name: Master Cleaner

on:
push:
branches:
- master

jobs:
linter:
formatter:
name: runner / black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: psf/black@stable
with:
options: "-l 80"
src: "./pina"

- name: Create Pull Request
Expand All @@ -27,4 +26,4 @@ jobs:
There appear to be some python formatting errors in ${{ github.sha }}. This pull request
uses the [psf/black](https://github.com/psf/black) formatter to fix these issues.
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
branch: actions/black
branch: actions/black
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Monthly Automated Tag
name: "Monthly Tagger"

on:
schedule:
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.NDEMO_PAT_TOKEN }}

Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/pypi-publish.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/sphinx-build.yml

This file was deleted.

78 changes: 78 additions & 0 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: "Testing Pull Request"

on:
pull_request:
branches:
- "master"
- "dev"

jobs:
unittests: #################################################################
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]

- name: Test with pytest
run: |
python3 -m pytest

linter: ####################################################################
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run Black formatter (check mode)
uses: psf/black@stable
with:
src: "./pina"

testdocs: ##################################################################
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Python dependencies
run: python3 -m pip install .[doc]

- name: Build Documentation
run: |
make html SPHINXOPTS+='-W'
working-directory: docs/

coverage: ##################################################################
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]

- name: Generate coverage report
run: |
python3 -m pytest --cov-report term --cov-report xml:cobertura.xml --cov=pina

- name: Produce the coverage report
uses: insightsengineering/coverage-action@v2
with:
path: ./cobertura.xml
threshold: 80.123
fail: true
publish: true
coverage-summary-title: "Code Coverage Summary"
33 changes: 0 additions & 33 deletions .github/workflows/testing_doc.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/testing_pr.yml

This file was deleted.

Loading
Loading