Tensorflow and Horovod tests #106
Closed
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.
This ReFrame test contains TensorFlow and Horovod tests for both CPU and GPU. In EESSI, we don't have GPU-based modules yet, nor do we have Horovod, but the tests have been checked using a local module environment. Once we have GPUs/Horovod in EESSI, these test can be used right away. Until that time, tags can be used to select a subset:
-n TensorFlow2Native
to only select the TensorFlow tests (no Horovod)-t cpu
to only select the cpu based tests(note that you can combine both arguments)
In order to run the test, run e.g. (in the
tests/reframe
directory):where your
settings.py
at least specifies a partition that hasnum_cpus
definedfoss
as a valid programming environmentenvironments
dictionaryIf your only valid programming environment in your
settings.py
isfoss
, you may ommit--prgenv=foss
from the run command