Repository navigation
use namedtuples for constants - #258
Merged
Merged
Conversation
casparvl
approved these changes
Mar 18, 2025
casparvl
left a comment
Collaborator
There was a problem hiding this comment.
I've tested this PR on Snellius, using the config/surf_snellius.py config, using:
reframe -t 1_8_node -t CI --system=snellius:rome --run
on the EESSI software stack and
reframe -t 1_4_node -t CI --system=snellius:gpu_A100 -n PyTorch --run
reframe -c test-suite/tutorial/mpi4py/mpi4py_portable_mixin.py -t 1_8_node -t CI --system=snellius:rome --run
reframe -c test-suite/tutorial/mpi4py/mpi4py_portable_legacy.py -t 1_8_node --system=snellius:rome --run
reframe -t 1_4_node -t CI --system=snellius:gpu_A100 -n TensorFlow --run
on a local module stack that contains a PyTorch module.
All of these complete successfully.
While I cannot test the updates to the other configs, these runs have tested a fair amount of the code changes in this PR.
The one thing that we need to make sure is that once we create a new release, we make sure that all EESSI bot deployments update their associated ReFrame config. As far as I know, there are four:
- AWS Magic Castle cluster
- Azure Magic Castle cluster
- UGent build bot
- SURF build bot
I can imagine the NESSI folks also having one though. I will ping the respective people in DMs, and also note it on the software-layer-bot channel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #257
also:
extraskey'mem_per_node'extrasconstants intoEXTRASnamedtuple:EXTRAS.GPU_VENDOR,EXTRAS.MEM_PER_NODEEESSI_mixin_validate_item_in_dictmethod toEESSI_mixin_validate_item_in_listto make it simpler and more flexible