rlmesh.jax.SandboxBuild

classExperimentalfrom rlmesh.jax import SandboxBuild[source]

Build-from-source infrastructure for a sandbox image.

SandboxBuild(
    base_image: str | None = None,
    rlmesh_package: str | PathLike[str] | None = None,
    packages: Sequence[str] | None = None,
    imports: Sequence[str] | None = None,
    trust_remote_code: bool = False,
    allow_unpinned_hf: bool = False,
    build_memory: str | None = None,
)

Configures how the image is built from a gym:///hf:// source (base image, extra packages, the rlmesh pin, …). Meaningless for a prebuilt image (run, not built) – those fields are ignored with a warning. Pair with SandboxRuntime for docker run settings. Env/model construction params stay in the sandbox’s **params (the make/load binding).

base_image

attribute[source]
base_image: str | None

rlmesh_package

attribute[source]
rlmesh_package: str | PathLike[str] | None

packages

attribute[source]
packages: Sequence[str] | None

imports

attribute[source]
imports: Sequence[str] | None

trust_remote_code

attribute[source]
trust_remote_code: bool

allow_unpinned_hf

attribute[source]
allow_unpinned_hf: bool

build_memory

attribute[source]
build_memory: str | None