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

Uploaded Source

Built Distribution

mlgym-0.0.5-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlgym-0.0.5.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mlgym-0.0.5.tar.gz
Algorithm Hash digest
SHA256 025661fec429793e74295e494645366cb1fcb62726a6f5d23e33e98aa62e4fb3
MD5 9d33be2d94a42c5be535dc247650769a
BLAKE2b-256 b336f469be04fbebb7d411089b7f384871f200157596d5241ded5c2867a5ce37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlgym-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mlgym-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 52ca0ded5ea56c9de963be0d848db23f0f938f4f5200cd16afc2447fad6f2a63
MD5 007b3ebc2f36489d3cabf97944e444fb
BLAKE2b-256 b3c17d44808a49572ffd57d2e363aa3163d60c94ac87a69222f2e75a68699375

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