Skip to main content

MLgym, a python framework for distributed machine learning model training in research.

Project description

MLgym

a python framework for distributed machine learning model training in research.

CircleCI

At its core, MLgym offers functionality to run gridsearches of Pytorch models at scale split over multiple GPUs and centrally store the results using DashifyML.

Futhermore, MLgym provides the following key features:

  • Reproducibility of results due to full experiment specification including dataset, preprocessing routines, model architecture, loss function, metrics and more within a single YAML config.
  • Component registry to register custom components with dependencies. For instance one can define a new preprocessing routine component. This component may depend on an iterator component, as specified in the experiment config. During runtime these components are instantiated on the fly.

Please note, that at the moment this code should be treated as experimental and is not production ready.

Install

there are two options to install MLgym, the easiest way is to install it from the pip repository:

pip install mlgym

For the latest version, one can directly install it from source by cd into the root folder and then running

pip install src/

Usage

NOTE: This framework is still under heavy development and mainly used in research projects. It's most likely not free of bugs and interfaces can still change.

For usage see this example.

Copyright

Copyright (c) 2020 Max Lübbering, Rajkumar Ramamurthy

For license see: https://github.com/le1nux/mlgym/blob/master/LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlgym-0.0.23.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

mlgym-0.0.23-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file mlgym-0.0.23.tar.gz.

File metadata

  • Download URL: mlgym-0.0.23.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for mlgym-0.0.23.tar.gz
Algorithm Hash digest
SHA256 f5c51fe4efc3c6dc0950b1837182f5c8635203e37d1a16e66ca3fd1d0108ac2e
MD5 5c8295f4b01d689e83813afc2beef8d3
BLAKE2b-256 7ec3d7ace14aec8cb51425b8ed4ace99f0d5fefc1d2efbd5019f7e355cb1d7a1

See more details on using hashes here.

File details

Details for the file mlgym-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: mlgym-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for mlgym-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 c401b4ef8c9ec63e306f27e238093267f266c5e93d4cd0214339f41614a89fd5
MD5 78fd0fec41b77479f64ced9284506485
BLAKE2b-256 f5565dab3e8c6db482efecfa2f4754147ae667088375d3947111882b6bb3f368

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page