Skip to content

Tensorflow and Horovod tests #106

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

Closed
wants to merge 14 commits into from
Closed

Conversation

casparvl
Copy link
Collaborator

@casparvl casparvl commented May 4, 2021

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):

reframe --config-file=config/settings.py --checkpath eessi-checks/applications/tensorflow2.py -r --prgenv=foss --performance-report -n TensorFlow2Native -t cpu

where your settings.py at least specifies a partition that has

  • num_cpus defined
  • foss as a valid programming environment
  • Specify the foss environment in the config's environments dictionary

If your only valid programming environment in your settings.py is foss, you may ommit --prgenv=foss from the run command

casparvl and others added 14 commits November 9, 2020 10:33
…, threads, and uses the parameter builtin method of ReFrame
…ince it also applies to TensorFlow-only tests
…in their ReFrame config if they need to specify additional flags in order to request a certain number of GPUs per node. This may depend on the allocation manager and its default configuration
…iable performance numbers due to less context switching with the Horovod thread. Additionally, for the Horovod test, only require the Horovod module - TensorFlow will be loaded as a dep automatically anyway.
@casparvl
Copy link
Collaborator Author

casparvl commented Jul 5, 2021

This PR is now outdated and is superseded by #122 where I recreated the TensorFlow and Horovod tests with ReFrame's library of tests pattern

@casparvl casparvl closed this Jul 5, 2021
trz42 added a commit to trz42/software-layer that referenced this pull request May 10, 2023
…-Rust/1.52.1-by-Rust/1.60.0

Nessi.no 2023.04 replace Rust/1.52.1 by Rust/1.60.0
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