Skip to content

Comments

fix[cartesian]: minified SDFG wihout duplication#2486

Open
romanc wants to merge 2 commits intoGridTools:mainfrom
romanc:romanc/more-sdfg-minification
Open

fix[cartesian]: minified SDFG wihout duplication#2486
romanc wants to merge 2 commits intoGridTools:mainfrom
romanc:romanc/more-sdfg-minification

Conversation

@romanc
Copy link
Contributor

@romanc romanc commented Feb 19, 2026

Description

Building on top #2485, this PR works towards reducing the size of SDFGs saved to disk. Included in this PR are

  1. a DaCe-side fix to avoid duplicating edges/nodes of conditionals saved in the SDFG file format,
  2. a GT4Py-side fix to strip the history, though that didn't make a difference in tests,
  3. updating DaCe to save SDFGs compressed by default and without whitespace.

@FlorianDeconinck feel free to merge over night. DaCe changes an be viewed here.

Requirements

  • All fixes and/or new features come with corresponding tests.
    Assumed to be covered by existing tests.
  • Important design decisions have been documented in the appropriate ADR inside the docs/development/ADRs/ folder.
    N/A

This PR works towards reducing the size of SDFGs saved to disk. Included
in this PR are

1. stripping the history, though that didn't make a difference in tests
2. updating DaCe to save SDFGs compressed by default and without
   whitespace.
@romanc romanc changed the title feature[cartesian]: SDFG minification fix[cartesian]: minified SDFG wihout duplication Feb 23, 2026
This PR updates DaCe for gt4py.cartesian to address the issue with
dupicated nodes in SDFGs. This includes a fix DaCe-side to avoid
duplicating nodes/edges of conditionals in the SDFG written to disk.
Nodes and edges are already contained in the `branches` section.
@romanc
Copy link
Contributor Author

romanc commented Feb 23, 2026

Update: with the last DaCe fix added today, this PR will now properly fix the size increase observed when moving form DaCe v1 to v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant