Skip to main content
Every saved model is a self-describing directory. See artifacts for the format.

Save

policy is an rfx.nn.Policy instance (e.g., MLP, ActorCritic) after training. robot_config and normalizer are optional — pass them to make the artifact self-describing:
See Policies for how to define and train a policy. Creates:

Load

LoadedPolicy is callable and handles torch / tinygrad conversion automatically.

Inspect

HuggingFace Hub

Push:
Pull (at load time):
rfx deploy calls load_policy internally. If the artifact’s rfx_config.json records a robot, --robot is inferred automatically.