Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main #1

Merged
merged 128 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
6e6271c
feature[next]: Add power unrolling functionality and respective unit …
SF-N Jan 17, 2024
6283ac9
fix[cartesian]: DaCe array access in tasklet (#1410)
edopao Jan 17, 2024
3edf21e
bug[next]: Bound args kwargs edit (#1411)
nfarabullini Jan 18, 2024
ba36856
example: cartesian with next compatibility (#1202)
havogt Jan 18, 2024
49db7ef
feat[next]: Pass sizes to temporaries from gt4py program (#1359)
samkellerhals Jan 18, 2024
b900b47
build[cartesian][next]: Bump dace version from 0.14.4 to 0.15.1 (#1391)
edopao Jan 19, 2024
90e5d5a
feature[next]: add support for Python3.11 by fixing typing-related bu…
egparedes Jan 19, 2024
e20294e
bug[next]: Improve error message on invalid call to field operator an…
tehrengruber Jan 22, 2024
e6f4160
Update AUTHORS.md
tehrengruber Jan 22, 2024
8bd5a41
Update AUTHORS.md
tehrengruber Jan 22, 2024
d5cfa7d
feat[next][dace]: Add more debug info to DaCe (#1384)
kotsaloscv Jan 23, 2024
11f9c1c
Bump version to 1.0.2 (#1421)
havogt Jan 24, 2024
ac0478a
fix[next][dace]: Use constant shape for neighbor tables in local dime…
edopao Jan 25, 2024
70f0f88
feat[next][dace]: use new LoopRegion construct for scan operator (#1424)
edopao Jan 25, 2024
9cd9879
Remove usage of deprecated API dace.Memlet.simple (#1425)
edopao Jan 25, 2024
8c3b3d7
ci: test jupyter notebooks (#1426)
havogt Jan 26, 2024
f0986bb
feat[next]: Enable tests for embedded with cupy (#1372)
havogt Jan 29, 2024
eb43002
fix[next][dace]: Bugfix in deref (dynamic memory allocation) (#1430)
edopao Jan 30, 2024
3fb512d
build: update min requirements (#1435)
havogt Jan 31, 2024
6262708
test[next]: fix obsolete asarray (#1436)
havogt Jan 31, 2024
e4dc1ee
test[next]: Add unit test for embedded `inverse_image` and fix bugs (…
egparedes Jan 31, 2024
28ed830
build: Update gridtools-cpp version to 2.3.2 (#1437)
havogt Jan 31, 2024
adf3a3c
feat[next]: add tests with mesh with skip values (#1433)
havogt Jan 31, 2024
75d23d0
Fix missing cstdint header in gtcpp codegen (#1439)
tehrengruber Jan 31, 2024
d6dfd6f
feat[next][dace]: Modified the file caching. (#1434)
philip-paul-mueller Feb 1, 2024
58ec4dd
bug[next]: allow fields of different sizes in tuple in itir embedded …
havogt Feb 2, 2024
0d158ad
fix[next][dace]: Fix for neighbor reduction with skip values (#1443)
edopao Feb 2, 2024
e462a2e
feat[next][dace]: Add support for lift expressions in neighbor reduct…
edopao Feb 2, 2024
6509dd9
feat[next][dace]: DaCe support for temporaries (#1351)
edopao Feb 6, 2024
d95bf89
bug[next]: fix field_operator caching (#1445)
havogt Feb 6, 2024
cbc34dd
build: Update requirements versions and scripts to support 3.11 (#1444)
egparedes Feb 6, 2024
b7d34b6
build: Update deployment action with trusted publisher (#1423)
havogt Feb 7, 2024
75fede7
release: v1.0.3 (#1446)
havogt Feb 7, 2024
e24f52d
feature[next]: Temporary extraction heuristics (#1341)
tehrengruber Feb 8, 2024
54a2887
Fix to detect CUPY gpu runtime (#1448)
edopao Feb 8, 2024
374f043
Update CI config to use new template for container build (#1450)
edopao Feb 8, 2024
1d305e1
feat[next]: Slicing field to 0d to return field not scalar (#1427)
nfarabullini Feb 9, 2024
2970575
feature[next]: Improve CollapseTuple pass (#1350)
tehrengruber Feb 13, 2024
4276d01
fix[next][dace]: Bugfix in neighbor reduction (#1456)
edopao Feb 16, 2024
077c786
refactor[next]: Change foast lowering from iterator of tuple to tuple…
tehrengruber Feb 16, 2024
d31d2cf
fix[next]: Disable collapse tuple `if` propagation (#1454)
tehrengruber Feb 16, 2024
0a29261
fix[next][dace]: Bugfix for nested neighbor reduction (#1457)
edopao Feb 16, 2024
e0a8734
feat[next][dace]: Use gt4py symbols for field size as dace array shap…
edopao Feb 19, 2024
e631c7f
feature[next]: toolchain configuration interfaces (#1438)
DropD Feb 19, 2024
ba353d3
feat[next][dace]: Remove offsets in connectivity arrays (#1460)
edopao Feb 19, 2024
e67f068
Fix duplicated factory-boy dependency. (#1465)
egparedes Feb 21, 2024
d39c36f
feat[next][dace]: Remove array offsets (#1459)
edopao Feb 22, 2024
117de0a
feat[next]: Embedded support for skip value connectivities (#1441)
havogt Feb 23, 2024
7dea36a
feat[next]: new domain slice syntax (#1453)
nfarabullini Feb 26, 2024
4228624
feat[next]: config improvements (#1461)
DropD Feb 26, 2024
b86a347
fix[next][dace]: Fix translation of if statement from tasklet to inte…
edopao Feb 26, 2024
d9004cd
feat[cartesian]: Setting extra compile args and DaCe block size via e…
stubbiali Feb 26, 2024
f59dc2c
bug[next]: Fix reverse operators in embedded (#1467)
havogt Feb 26, 2024
68f5d53
build: fix tox requirements task and hypothesis setting with updated …
egparedes Feb 27, 2024
563fe29
feature[next]: Fix caching stability (#1473)
tehrengruber Feb 28, 2024
ea85298
[build]: update tooling config files to replace black+isort+flake8 wi…
egparedes Feb 28, 2024
4c8f706
[style]: apply automatic formatting with new ruff-formatter configura…
egparedes Feb 28, 2024
77a205b
[style]: updates to coding guidelines and fixes for all QA errors aft…
egparedes Feb 28, 2024
ae9c203
feat[next][dace]: make canonical representation of field domain optio…
edopao Feb 29, 2024
d7b6562
refactor[next]: Refactor workflow based executors and move the backen…
DropD Feb 29, 2024
628a33b
feat[next][dace]: Add gt4py workflow for the DaCe backend (#1477)
edopao Mar 4, 2024
02a4839
fix[next][dace]: accept runtime lift_mode as argument to dace backend…
edopao Mar 4, 2024
0151b05
feat[cartesian]: read-only data dims direct access & Fields (#1451)
FlorianDeconinck Mar 4, 2024
5ed2590
style: Fix leftovers of moving lint infrastructure to ruff (#1480)
egparedes Mar 5, 2024
66f8447
feature[next]: Inline center deref lift vars (#1455)
tehrengruber Mar 6, 2024
e51ab30
bug[next]: Increase recursion limit in TraceShift pass (#1482)
tehrengruber Mar 6, 2024
6d7f38c
bug[next]: Fix CSCS CI by pinning cupy to 12.3.0 (#1485)
tehrengruber Mar 10, 2024
cb2056c
bug[next]: Mark cupy tests as requires gpu (#1483)
tehrengruber Mar 11, 2024
d5b83a8
feat[next]: variadic generic type (#1486)
nfarabullini Mar 13, 2024
7a980f9
refactor[next]: workflowify PAST -> ITIR toolchain step (#1479)
DropD Mar 14, 2024
5572771
style[next]: stricter typing in ffront (#1492)
havogt Mar 14, 2024
1abfaea
feat[next]: concat_where for boundary conditions (#1468)
havogt Mar 14, 2024
424dfe2
style[next]: improve typing in next.type_translation (#1493)
havogt Mar 15, 2024
ee17241
bug[next]: fix _Dedup for tuples in type_inference (#1495)
havogt Mar 15, 2024
b26e6a3
style[next]: more strict typing (#1494)
havogt Mar 19, 2024
0a9be51
fix[next][dace]: Fixes to DaCe backend to support latest ITIR (#1499)
edopao Mar 19, 2024
be3728b
feature[next]: Validate no dynamic offsets (#1504)
tehrengruber Mar 20, 2024
879c836
build: Update mypy configuration (#1505)
egparedes Mar 20, 2024
e344afd
refactor[next]: NamedRange/NamedIndex tuple to NamedTuple (#1490)
nfarabullini Mar 21, 2024
73f3ea0
bug[eve]: Preserve annex None value in visitors (#1508)
tehrengruber Mar 21, 2024
a738dff
feature[next]: Improve ITIR constant folding (#1510)
tehrengruber Mar 21, 2024
5d1bf29
bug[next]: Improve ITIR Pretty Printer (#1509)
tehrengruber Mar 21, 2024
43c9f8a
refactor[next]: make function definition -> PAST into a workflow step…
DropD Mar 22, 2024
d5eccd6
bug[next]: Fix gtfn code generation for negative literals (#1511)
tehrengruber Mar 22, 2024
618e9cf
feat[next][dace]: Remove old dace backend (replaced by workflow infra…
edopao Mar 22, 2024
759a241
build: add ruff to the automated requirement generation workflow (#1…
egparedes Mar 25, 2024
1868f7d
build: bump minimum version of typing_extensions requirement (#1512)
egparedes Mar 26, 2024
8edc840
Migrate from discontinued bump2version to bump-my-version (#1514)
egparedes Mar 26, 2024
e74b5a7
feat[next]: workshop material and docs field Dims type hint update (…
nfarabullini Mar 26, 2024
375878c
feat[next][dace]: Filter unused connectivity tables (#1502)
edopao Mar 26, 2024
7d14a27
bug[next]: fix minimum version of bump-my-version (#1515)
havogt Apr 2, 2024
fb37a58
style: update requirements and change ruff-format style to stable (#1…
egparedes Apr 3, 2024
591ea4e
style: minimize vertical space style (#1518)
egparedes Apr 3, 2024
3542307
fix[next]: replace `extended_runtime_checkable` workaround by upgradi…
egparedes Apr 4, 2024
f857184
build: bump required typing_extensions version to skip buggy versions…
egparedes Apr 4, 2024
609a5c9
fix[next]: Fix Program.itir (#1523)
DropD Apr 8, 2024
705530c
feat[next][dace]: Several features for icon4py-backend integration (#…
edopao Apr 10, 2024
d5d59d2
refactor[next]: itir embedded: cleaner closure run (#1521)
havogt Apr 15, 2024
a603bfe
refactor[next]: Fencil to itir.Program for gtfn (#1524)
havogt Apr 16, 2024
9f44142
refactor[next]: Use type specification for itir.Literal (#1529)
tehrengruber Apr 17, 2024
2c06bc6
refactor[next]: Use is_call_to instead of equality comparison with it…
tehrengruber Apr 18, 2024
81426f0
test[next]: delete cppbackend_tests (#1534)
havogt Apr 19, 2024
6a5ae7e
refactor[next]: move lift_mode itir test fixture into program_process…
havogt Apr 23, 2024
2cd0c91
feat[cartesian]: gtc `cuda` backend deprecation (#1498)
FlorianDeconinck Apr 26, 2024
9cc7548
refactor[next]: workflowify step3 (#1516)
DropD Apr 29, 2024
8c5ab41
ci[cartesian]: env var on CSCS-CI to suppress cuda backend deprecatio…
DropD May 3, 2024
2f5799e
ci: define pytest addopts settings as env var in tox config (#1542)
egparedes May 13, 2024
c89bd81
feat[cartesian]: Feedback when a bad backend is selected (#1544)
FlorianDeconinck May 16, 2024
723b81f
feat[next]: extend embedded implementation of `premap()` (#1501)
egparedes May 16, 2024
d49086e
build: update frozen dependencies (#1543)
havogt May 17, 2024
32dde79
refactor[next]: cleaner toolchain (#1537)
DropD May 21, 2024
f472c90
feat[next][dace]: Modify name of stride symbols (#1548)
edopao Jun 6, 2024
93fa6f6
ci: add manual trigger for daily-ci (#1558)
havogt Jun 20, 2024
374df48
ci: fix daily min-requirements (#1557)
havogt Jun 20, 2024
2d25603
ci: use public path for cscs-ci images (#1560)
havogt Jun 25, 2024
dccf7bc
ci: cscs-ci upgrade boost to latest (#1561)
havogt Jun 25, 2024
198c0ae
feat[cartesian]: Specify compiler optimization level and flags via en…
stubbiali Jun 25, 2024
b8f7f72
build: bump DaCe package version (#1556)
edopao Jun 26, 2024
3dfbf3f
refactor[next]: new ITIR type inference (#1531)
tehrengruber Jun 27, 2024
c676fbb
build[next]: Compatibility with nanobind 2.x (#1547)
havogt Jun 27, 2024
ecf1306
feat[storage]: add support for numpy and cupy 2.0 (#1563)
egparedes Jun 28, 2024
3ca278d
refactor[next]: embedded with itir.Program (#1530)
havogt Jun 28, 2024
664ca55
bug[next]: Fix missing visit call in call to cast builtin in ITIR typ…
tehrengruber Jul 2, 2024
a07a7d0
feat[next]: Check fencil/program args in ITIR type inference (#1565)
tehrengruber Jul 2, 2024
58f061f
feat[next][dace]: Use DaCe SDFG fastcall (#1562)
edopao Jul 3, 2024
df9aec2
Add Gitlab CI/CD targets for gh200 (#1546)
edopao Jul 4, 2024
6bbedb1
feat[cartesian]: add extra_link_args for flexible support of various …
Jul 4, 2024
1ee610e
bug[next]: Add assert for OOB access (#1571)
tehrengruber Jul 5, 2024
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
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions .bumpversion.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/daily-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Daily CI
on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:

## COMMENTED OUT: only for testing CI action changes
# pull_request:
Expand All @@ -14,7 +15,7 @@ jobs:
daily-ci:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
tox-module-factor: ["cartesian", "eve", "next", "storage"]
os: ["ubuntu-latest"]
requirements-file: ["requirements-dev.txt", "min-requirements-test.txt", "min-extra-requirements-test.txt"]
Expand Down
54 changes: 45 additions & 9 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Deploy Python Distribution

on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [published]
workflow_dispatch:

jobs:
build-n-publish:
name: Build and publish Python distribution
build:
name: Build Python distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -21,14 +25,46 @@ jobs:
- name: Build a wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/
- name: Publish distribution to Test PyPI
if: ${{ github.event_name == 'release' }}
uses: pypa/gh-action-pypi-publish@release/v1
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: gt4py-dist
path: ./dist/**
publish-pypi:
name: Publish Python distribution to pypi.org
runs-on: ubuntu-latest
needs: build
if: ${{ github.event_name == 'workflow_dispatch' }} # the action was triggered manually
environment:
name: pypi
url: https://pypi.org/project/gt4py
permissions:
id-token: write
steps:
- name: Download wheel
uses: actions/download-artifact@v3
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
name: gt4py-dist
path: dist
- name: Publish distribution to PyPI
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: pypa/gh-action-pypi-publish@release/v1
publish-test-pypi:
name: Publish Python distribution to test.pypi.org
runs-on: ubuntu-latest
needs: build
if: ${{ github.event_name == 'release' }} # triggered by releasing on github, test first before manually triggering the deployment to PyPI (see release documentation)
environment:
name: testpypi
url: https://test.pypi.org/project/gt4py/
permissions:
id-token: write
steps:
- name: Download wheel
uses: actions/download-artifact@v3
with:
name: gt4py-dist
path: dist
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion .github/workflows/test-cartesian-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
backends: [internal-cpu, dace-cpu]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cartesian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
backends: [internal-cpu, dace-cpu]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-eve-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
test-eve:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: ["ubuntu-latest"]

runs-on: ${{ matrix.os }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-eve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
test-eve:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: ["ubuntu-latest"]
fail-fast: false

Expand Down Expand Up @@ -68,4 +68,3 @@ jobs:
# with:
# name: info-py${{ matrix.python-version }}-${{ matrix.os }}
# path: info.txt

2 changes: 1 addition & 1 deletion .github/workflows/test-next-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test-next:
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.10", "3.11"]
tox-env-factor: ["nomesh", "atlas"]
os: ["ubuntu-latest"]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test-next:
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.10", "3.11"]
tox-env-factor: ["nomesh", "atlas"]
os: ["ubuntu-latest"]
fail-fast: false
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/test-notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Test Jupyter Notebooks"

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test-notebooks:
strategy:
matrix:
python-version: ["3.10", "3.11"]
os: ["ubuntu-latest"]
fail-fast: false

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
**/pyproject.toml
**/constraints.txt
**/requirements-dev.txt
- name: Install python dependencies
run: |
python -m pip install -c ./constraints.txt pip setuptools wheel
python -m pip install -r ./requirements-dev.txt
- name: Run tox tests
env:
NUM_PROCESSES: auto
shell: bash
run: |
pyversion=${{ matrix.python-version }}
pyversion_no_dot=${pyversion//./}
tox run -e notebooks-py${pyversion_no_dot}
2 changes: 1 addition & 1 deletion .github/workflows/test-storage-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test-storage:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
backends: [internal-cpu, dace-cpu]
os: ["ubuntu-latest"]

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
test-storage:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
backends: [internal-cpu, dace-cpu]
os: ["ubuntu-latest"]
fail-fast: false
Expand Down Expand Up @@ -70,4 +70,3 @@ jobs:
# with:
# name: info-py${{ matrix.python-version }}-${{ matrix.os }}
# path: info.txt

Loading
Loading