A simple way of integrating aim into MLOps frameworks.
Project description
aimrun
A simple interface for integrating aim into MLOps frameworks.
Installation
pip install aimrun
Features
- Multiple runs. Simply initialize multiple aimruns using
aimrun.init()
, and track on multiple repositories at once. - No need of main-process wrapper. You do not need to make sure, that only the main-process calls aimrun functions, we take care of that for you.
Usage (Recommended)
- Initialize one or more aimruns using
aimrun.init()
- Use
aimrun.track()
to track values. Parse a dictionary. - Use
aimrun.close()
to finalize the experiments.
Example usage
import aimrun
# initalize
aimrun.init(repo='aim://172.3.66.145:53800', experiment='my_experiment', description='description of run' args={"arg": 1}) # args=vars(args) if you use argsparse
# track
aimrun.track({"value_0": A, "value_1": B})
# or
aimrun.track(A, name="value_0")
# close
aimrun.close()
Drop-in replacement Wandb (Experimental)
We experimentally offer aimrun as a drop-in replacement for wandb, making a seamless integration in your framework.
- Replace
import wandb
withfrom aimrun import wandb
- Set default repository før init (fx lige efter import)
wandb.set_default_repo('aim://172.3.66.145:53800')
- Supported functions
.init(), .log(), .finit()
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
aimrun-0.4.0.tar.gz
(5.7 kB
view details)
File details
Details for the file aimrun-0.4.0.tar.gz
.
File metadata
- Download URL: aimrun-0.4.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51334a262079ad5c6e755a5702be35247b3feb764a339c13112290f05a92ca0 |
|
MD5 | dbf5a7110cb1948f85a4adcbcc6b0119 |
|
BLAKE2b-256 | 020c52fb5eaac86861503117a2bd01b42cfb86f3dbb263478030f7a7693fcccc |