Pass configuration options directly toDocumentation Index
Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox.run():
Resources
UseResourceOptions to configure CPU and memory requests and limits:
| Resource | Format | Examples |
|---|---|---|
| CPU | Cores or millicores | "1", "2", "500m" (0.5 CPU) |
| Memory | Bytes with unit suffix | "512Mi", "1Gi", "2Gi" |
Mounted files
Pre-populate files at sandbox startup:write_file() for files that need modification.
For reusable configuration across multiple sandboxes, use
SandboxDefaults. See the sandbox configuration guide for all ResourceOptions fields, GPU resources, QoS classes, and config-library interop.