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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mlgym-0.0.6.tar.gz
.
File metadata
- Download URL: mlgym-0.0.6.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e504d0f1b50cd7ac83eb51cb396051439f66d09a11cd54c5b1bdab1b4544ea |
|
MD5 | 1fca1b1334f22199be43db48253be12c |
|
BLAKE2b-256 | 2e2c21727ab387a0666860a6a4dc3125ced2e155d5ff4f15f90e6233c1b89238 |
File details
Details for the file mlgym-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: mlgym-0.0.6-py3-none-any.whl
- Upload date:
- Size: 41.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df12fb57d58b8e1be0905ddb03313f5964d4eb554dd9fe9bfa7a7e1dc322e85e |
|
MD5 | 1cf4dc7a0b835f4ca42b2db6cb36b67b |
|
BLAKE2b-256 | 156f752f467c82d73a43c96e736baeeedd1ca7cd12a9d7e1ddedc95fac59bd35 |