nemo_gym.sandbox.providers.ecs_fargate.provider
nemo_gym.sandbox.providers.ecs_fargate.provider
ECS Fargate sandbox provider.
Adapts :mod:engine (one stateful EcsFargateSandbox per sandbox) to Gym’s SandboxProvider
contract: per-sandbox engine state lives in SandboxHandle.raw and the provider methods delegate
to it. The model endpoint is reached directly from the sandbox, or via the SSH reverse tunnel when
outside_endpoints are supplied through spec.provider_options.
Module Contents
Classes
Functions
API
Run sandboxes as AWS ECS Fargate tasks behind an SSH sidecar.
Apply per-sandbox SandboxSpec requests (readiness/TTL/resources) onto the provider config.
SandboxResources.cpu is in vCPUs; Fargate task CPU is in 1024-unit increments. GPU is not
supported on Fargate.
Build an EcsFargateConfig from provider kwargs.
When region is given but cluster is omitted, infrastructure is auto-discovered from SSM;
explicit kwargs always win over SSM.