Environment
relay.inference
Alsorelay.Policy and relay.Codec.
Policy
Codec
Codec.LOSSLESS, Codec.JPEG_Q100, JPEG_Q98, JPEG_Q95, JPEG_Q92, JPEG_Q90, JPEG_Q85, JPEG_Q50. See Sending images.
relay.sft
SFTConfig
Functions
train is in relay.sft.train; all three are in relay.sft.
FineTuneJob
Attributes:
id, status, created_at, step, loss, error, output_dir, and the config’s fields.
relay.training
ServiceClient
TimeoutError after timeout seconds.
TrainingClient
Attributes:
session_id, info.
SamplingClient
sample(observations, num_steps=10) -> Future[np.ndarray] with the weights saved under name; path is where they are.