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

Introduced customized markers for backend errors #636

Merged
merged 85 commits into from
Jan 31, 2025

Conversation

nfarabullini
Copy link
Contributor

@nfarabullini nfarabullini commented Jan 9, 2025

setting embedded as default backend and related edits

@nfarabullini nfarabullini marked this pull request as draft January 9, 2025 11:02
@nfarabullini
Copy link
Contributor Author

cscs-ci run default

@nfarabullini nfarabullini requested a review from havogt January 29, 2025 08:52
Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

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

There is still a problem with the type of backend, sometimes it is str, sometimes Backend.

model/testing/src/icon4py/model/testing/helpers.py Outdated Show resolved Hide resolved
model/testing/src/icon4py/model/testing/helpers.py Outdated Show resolved Hide resolved
model/testing/src/icon4py/model/testing/helpers.py Outdated Show resolved Hide resolved
model/testing/src/icon4py/model/testing/pytest_config.py Outdated Show resolved Hide resolved
model/testing/src/icon4py/model/testing/helpers.py Outdated Show resolved Hide resolved
pytest.xfail("Embedded backend does not support as_offset.")
case "requires_concat_where" if is_embedded(param):
pytest.xfail("Stencil requires concat_where.")
case "skip_value_error":
Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense. Regarding 2 I would not run them by default in CI as it creates the mismatch between PR run and daily run. And also I prefer to run benchmarks on things that we verified.

Regarding 1, I would rather prioritize getting rid of the skip_value_error marker in a next PR if that that's ok for you. It seems it's anyway part of what @halungge wanted to do in https://hackmd.io/s1iBcbqiR6CpJ0XfJHRAnQ (I added a link to this tag there).

@nfarabullini nfarabullini requested a review from havogt January 30, 2025 08:15
nfarabullini and others added 2 commits January 30, 2025 18:27
Co-authored-by: Hannes Vogt <hannes@havogt.de>
Co-authored-by: Hannes Vogt <hannes@havogt.de>
@nfarabullini nfarabullini changed the title embedded backend config edits Introduced customized markers for backend errors Jan 30, 2025
@nfarabullini
Copy link
Contributor Author

cscs-ci run default

Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

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

lgtm. Maybe add a note in the commit message on what to do if you need to add a new exclusion case for a backend.

Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run default
  • launch jenkins spack

Optional Tests

To run benchmarks you can use:

  • cscs-ci run benchmark

To run tests and benchmarks with the DaCe backend you can use:

  • cscs-ci run dace

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@nfarabullini
Copy link
Contributor Author

cscs-ci run default

@nfarabullini nfarabullini merged commit 9bab5b1 into main Jan 31, 2025
3 checks passed
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