This project has been archived by its maintainers, and is no longer receiving any updates.
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
arcee.init('token', 'application_key')
To use custom endpoint and enable\disable ssl checks (supports using self-signed ssl certificates):
arcee.init('token', 'application_key', endpoint_url='https://my.custom.endpoint:443/arcee/v2', ssl=False)
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 application run (key, value):
arcee.tag("project", "torchvision demo")
To add milestones:
arcee.milestone("Download test data")
To add stages:
arcee.stage("calculation")
To finish model:
arcee.finish()
or for failed task:
arcee.error()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file optscale_arcee-0.1.25.tar.gz.
File metadata
- Download URL: optscale_arcee-0.1.25.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
393164d70f05b6730111aee7e425994d3a33c5f1325ce8d650096e5b3cef9995
|
|
| MD5 |
133e4fb432fc1f59947ea472d749e7b2
|
|
| BLAKE2b-256 |
588c9b752b90ae871b3b08bf718d00e39ab2f615f099277a540114e2bcb3d10f
|