Skip to content

feat[next-dace]: Disable dace trace for SDFG transformation progress#2540

Merged
edopao merged 3 commits intoGridTools:mainfrom
edopao:dace_disable_progress_print
Mar 19, 2026
Merged

feat[next-dace]: Disable dace trace for SDFG transformation progress#2540
edopao merged 3 commits intoGridTools:mainfrom
edopao:dace_disable_progress_print

Conversation

@edopao
Copy link
Copy Markdown
Contributor

@edopao edopao commented Mar 18, 2026

By default, switch off the trace trace on stdout about the progress of SDFG transformations. It is possible to enable it by exporting DACE_progress=true or by setting the GT4PY_DEBUG environment variable.


with dace.config.temporary_config():
# Do not print the transformation progress, unless enabled through env variable.
dace.Config.set("progress", value=gtx_config.DEBUG)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this respect if DACE_progress=True is set, otherwise I'd add this option, if it could be interesting for debugging, while at the same time not enabling all gt4py debugging.

@edopao edopao requested a review from havogt March 19, 2026 08:22
Copy link
Copy Markdown
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Philip Müller <147368808+philip-paul-mueller@users.noreply.github.com>
@edopao edopao merged commit fbd5bbf into GridTools:main Mar 19, 2026
24 checks passed
@edopao edopao deleted the dace_disable_progress_print branch March 19, 2026 10:12
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.

3 participants