Skip to content

A multi-platform experimentation framework written in python.

License

Notifications You must be signed in to change notification settings

aaronegolden/ramble

 
 

Repository files navigation

Ramble is a multi-platform experimentation framework to increase exploration productivity and improve reproducibility. Ramble is capable of driving software installation, acquire input files, configure experiments, and extract results. It works on Linux, macOS, and many supercomputers.

Ramble can be used to configure a variety of experiments for applications. These can include anything from:

  • Scientific parameter sweeps
  • Performance focused scalaing studies
  • Compiler flag sweeps

To install ramble and configure your experiment workspace, make sure you have Python, and Ramble’s dependencies are installed as per the dependency section below. Then:

$ git clone -c feature.manyFiles=true https://github.com/GoogleCloudPlatform/ramble.git
$ cd ramble/bin
$ ./ramble workspace create -d test_workspace -c ../examples/basic_hostname_config.yaml

Dependencies

Ramble’s python dependencies can be installed using the included requirements.txt file.

e.g.

$ pip install -r requirements.txt

We recommend Python >= 3.7 for Ramble, but a best effort attempt is made to support Python 3.6 as it is used by older operating systems such as Centos7. Specifically, you might need to update pip and downgrade protobuf when using Python 3.6.

Outside of these requirements, ramble requires an existing installation of spack for some application definition. See Spack’s documentation to install Spack.

Documentation

Ramble’s documentation can be viewed at https://googlecloudplatform.github.io/ramble/.

For help with Ramble’s commands, run ramble help or ramble help --all.

For more information on concepts in Ramble, see Ramble’s Getting Started guide.

Example configuration files are also contained in the examples directory.

Community

Ramble is an open source project. Questions, discussion, and contributions are welcome. Contributions can be anything from new packages to bugfixes, documentation, or even new core features.

Resources:

Contributing

Contributing to Ramble is relatively easy. Just send us a pull request. When you send your request, make develop the destination branch on the Ramble repository.

Your PR must pass Ramble's unit tests and documentation tests, and must be PEP 8 compliant. We enforce these guidelines with our CI process.

These tests can be run locally through test runners in the share/ramble/qa/ directory. Alternatively, pre-commit can be used to manage our git hooks. To install the hooks, simply run:

  • pre-commit install

For additional requirements about contributing, including Google’s CLA, see our Contribution Guide.

Ramble's develop branch has the latest contributions. Pull requests should target develop, and users who want the latest package versions, features, etc. can use develop.

Releases

Each Ramble release series also has a corresponding branch, e.g. releases/v0.1 has 0.1.x versions of Ramble, and releases/v0.2 has 0.2.x versions. We backport important bug fixes to these branches but we do not advance the application definitions or make other changes that would change the way experiments Ramble would create within a release branch. So, you can base your Ramble deployment on a release branch subsequent updates can be considered non-breaking.

The latest release is always available with the releases/latest tag.

Code of Conduct

Please note that Ramble has a Code of Conduct. By participating in the Ramble community, you agree to abide by its rules.

Authors

Many thanks go to Ramble's contributors.

Ramble was created by Doug Jacobsen, dwjacobsen@google.com.

License

This software is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE for details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

About

A multi-platform experimentation framework written in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.2%
  • Shell 1.2%
  • C 0.6%
  • Standard ML 0.0%
  • HTML 0.0%
  • Makefile 0.0%