Skip to content

Resources

Represents the compute resources allocated to a job container.

Attributes:

  • memory (str) โ€“

    Memory limit as a string (e.g. "256m", "1g").

  • cpu (float) โ€“

    Number of CPU cores to allocate (e.g. 1, 0.5).

  • vram (str | None) โ€“

    GPU memory limit as a string (e.g. "256m", "1g"), the same form as memory. If omitted, the job JSON does not include a vram field.