The Resources dataclass defines compute requirements for processing stages.
requires_gpuCheck if any GPU resources are requested.
Use gpu_memory_gb for stages that need a fraction of a GPU:
The system automatically calculates the GPU fraction based on available GPU memory.
Use gpus for stages that need one or more full GPUs:
You cannot specify both gpus and gpu_memory_gb. Choose one:
gpu_memory_gb for single-GPU stages (< 1 GPU)gpus for stages that need one or more full GPUsUse with_() to override resource configurations: