rlmesh.jax.SandboxBuild
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 | Nonerlmesh_package
attribute[source]rlmesh_package: str | PathLike[str] | Nonepackages
attribute[source]packages: Sequence[str] | Noneimports
attribute[source]imports: Sequence[str] | Nonetrust_remote_code
attribute[source]trust_remote_code: boolallow_unpinned_hf
attribute[source]allow_unpinned_hf: boolbuild_memory
attribute[source]build_memory: str | None