physicalai-runtime-loading-exported-policies

Installation
SKILL.md

Loading Exported Policies

Runtime loads Studio export directories (or Hub snapshots that mirror them) through InferenceModel in src/physicalai/inference/model.py. Manifest parsing lives in src/physicalai/inference/manifest.py; backends register in src/physicalai/inference/adapters/registry.py (onnx.onnx, openvino.xml). Hub downloads use src/physicalai/inference/utils/_hub.py.

Workflow

  1. Identify the artifact: local export directory or Hub repo_id, expected backend, and whether the user needs select_action vs predict_action_chunk.

    • Done when: load path and API entry point are chosen before editing code.
  2. Load with auto-detection first (local):

    from physicalai.inference import InferenceModel
    model = InferenceModel("./exports/act_policy")
    
    • Done when: model constructs without explicit backend= when artifacts match a registered extension.
  3. Hub load when the package is published:

Installs
14
GitHub Stars
2
First Seen
Aug 19, 2026
physicalai-runtime-loading-exported-policies — open-edge-platform/skills