Skip to main content

ML profiling tool for OptScale

Project description

Arcee

The OptScale ML profiling tool by Hystax

Arcee is a tool that hepls you to integrate ML tasks with OptScale. This tool can automatically collect executor metadata from cloud and process stats.

Installation

Arcee requires python 3.7+ to run.

pip install optscale-arcee

Usage

First of all you need to import and init arcee in your code:

import optscale_arcee as arcee
# init arcee using context manager syntax
with arcee.init('token', 'model_key'):
    # some code

To use custom endpoint and enable\disable ssl checks (supports using self-signed ssl certificates):

with arcee.init('token', 'model_key', endpoint_url='https://my.custom.endpoint:443/arcee/v2', ssl=False):
    # some code

Alternatively arcee can be initialized via function call. However manual finish is required:

arcee.init('token', 'model_key')
# some code
arcee.finish()

Or in error case:

arcee.init('token', 'model_key')
# some code
arcee.error()

To send stats:

arcee.send({"loss": 2.0012, "iter": 2, "epoch": 1})

(key should be string, value - int or float, multiple values can be sent)

To add tags to model run (key, value):

arcee.tag("project", "torchvision demo")

To add milestones:

arcee.milestone("Download test data")

To add stages:

arcee.stage("calculation")

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

optscale_arcee-0.1.35.tar.gz (15.5 kB view details)

Uploaded Source

File details

Details for the file optscale_arcee-0.1.35.tar.gz.

File metadata

  • Download URL: optscale_arcee-0.1.35.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for optscale_arcee-0.1.35.tar.gz
Algorithm Hash digest
SHA256 f799f7b31cb9a7287ae65db5ffe64cff562d1839876f298fee8493d18ec4ec46
MD5 add26522b3b06f11f8d4971d07fad5a3
BLAKE2b-256 ef9f6a40c0d2a2cfdfb997f06c5878ec08f121a54f0e8a574c4bb3ed676983de

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page