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)
| File | Size | Uploaded | |
|---|---|---|---|
| armnet_runtime-0.3.3.tar.gz | 107.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|