Skip to main content

armnet-runtime

The runtime SDK for the Armnet managed arm farm — the package you install inside your container image. It provides the @main decorator, the Context your function receives, and the armnet-runtime console script the container runs. It has a deliberately tiny dependency footprint so it's cheap to bake into every image.

from armnet_runtime import Context, main

@main
def run(ctx: Context) -> dict:
    ctx.report_progress("starting")
    obs = ctx.cell.get_observation()
    ...
    return {"ok": True}

Container CMD:

CMD ["armnet-runtime", "/app/main.py"]

Code that submits jobs from a dev machine or CI uses armnet-client instead.

Install

pip install armnet-runtime

Custom runtimes that submit directly to the shared leaderboard can install armnet-runtime[leaderboard].

Documentation

Full guides and API reference: https://docs.armnet.dev/packages/runtime/

Metadata

Release files for armnet-runtime 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for armnet-runtime 0.3.3
File Size Uploaded
armnet_runtime-0.3.3.tar.gz 107.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for armnet-runtime 0.3.3
File Interpreter ABI Platform
armnet_runtime-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 195.0 kB

Release files / armnet_runtime-0.3.3.tar.gz

Download URL armnet_runtime-0.3.3.tar.gz
Size 107.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bc3a31f157db05ac33f279c75af9ee3630f94371635790cd73b83f49dbf0d31b
BLAKE2b-256 checksum
How to use checksums
58654dfbf753ec1ee3699a75c8716f7ad932afc6f4a132cc2179befbdcf2d32d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / armnet_runtime-0.3.3-py3-none-any.whl

Download URL armnet_runtime-0.3.3-py3-none-any.whl
Size 87.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
249dd1c2b9db8790418c2d89609463ea124d5657eaa830a04074e50a70f691e1
BLAKE2b-256 checksum
How to use checksums
072e6f81967b4500f42ad36930c056191da2d2cca0f0d12350391c4c8ba61ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page