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/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

armnet_runtime-0.3.1.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

armnet_runtime-0.3.1-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

Details for the file armnet_runtime-0.3.1.tar.gz.

File metadata

  • Download URL: armnet_runtime-0.3.1.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for armnet_runtime-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e5a667f0af929c621b5bb3f838e95d9a523635101938e679eb21ffe9e86b0d9e
MD5 eb6e828586ace4d42a77f01ed3d62725
BLAKE2b-256 dd829e8812f4a90400fd557b0471807f73f8774c9d806263fe55e2f81f97ad86

See more details on using hashes here.

File details

Details for the file armnet_runtime-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: armnet_runtime-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 66.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for armnet_runtime-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1146139cb62d9682643a37a4862e3a7c686647cbfc90147f870ac72bbab29a29
MD5 20c9754af40fed29c5813c113e8d0d4c
BLAKE2b-256 711025a67ba342d9011a8c6dee2e9732fc66a47af145a31a56c0d1e1007d5113

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 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