Skip to main content

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

  1. Multiple runs. Simply initialize multiple aimruns using aimrun.init(), and track on multiple repositories at once.
  2. 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)

  1. Initialize one or more aimruns using aimrun.init()
  2. Use aimrun.track() to track values. Parse a dictionary.
  3. 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.

  1. Replaceimport wandb with from aimrun import wandb
  2. Set default repository før init (fx lige efter import) wandb.set_default_repo('aim://172.3.66.145:53800')
  3. Supported functions .init(), .log(), .finit()

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

aimrun-0.3.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file aimrun-0.3.0.tar.gz.

File metadata

  • Download URL: aimrun-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for aimrun-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2c195e2d530880cccfc74a0161b127be5e41b6fc481d4cea94b4354ae641ba53
MD5 cccf0ea88d52909740c044075c8a9127
BLAKE2b-256 7e6fa4737e95806b65f4595d80d7767b7795a52e14d0feeab3d09f17868f053e

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