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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| armnet_runtime-0.3.2.tar.gz | 82.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| armnet_runtime-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 151.8 kB
Release files / armnet_runtime-0.3.2.tar.gz
| Download URL | armnet_runtime-0.3.2.tar.gz |
|---|---|
| Size | 82.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f63319772d585bef12ddfa0425031f52aed5f7bf78834c1a2ba5aef54180280
|
|
BLAKE2b-256 checksum How to use checksums |
953cf0c13755ab255c1db5a8620d1d8d059a064f452a56023f7ce0c96c1be5bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / armnet_runtime-0.3.2-py3-none-any.whl
| Download URL | armnet_runtime-0.3.2-py3-none-any.whl |
|---|---|
| Size | 69.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c797a252313cf9b3347748ba2a2c6560685452be7bf1e8676c2be69195f1ae4
|
|
BLAKE2b-256 checksum How to use checksums |
1d341fbfc9dc64b6ecae9c245c20789a25c2a21180b4737a3ffa11b54608e9fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|