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.40.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

mlgym-0.0.40-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlgym-0.0.40.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for mlgym-0.0.40.tar.gz
Algorithm Hash digest
SHA256 824630be189637b4c880ac0594d096e8d074b8be918a1302da90f28404cf0796
MD5 0c6cd54b0c10591d9379ce223e50a02f
BLAKE2b-256 fa14a1a874e8c7939661bb1b6c3b0c6301175e5372dfa8c8b0f9401bbd71ed81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlgym-0.0.40-py3-none-any.whl
  • Upload date:
  • Size: 56.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for mlgym-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 6c5e03025b6d075286b72c8154c4ad387fbd568943fdf97fe710dd9578badebe
MD5 f464e30d8638e3a3ee850e7b24080c79
BLAKE2b-256 30446557ce18062078ad7e81b13c4a5eda02cb6595766f78190fe4f74a9998d1

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