# Requesting GPUs per task

Use .options() to ask for GPUs on the calls that need them, and only those.

Source: https://university.eugo.io/videos/requesting-gpus-per-task

---

- Level: Intermediate
- Duration: 4m
- Topics: gpu-acceleration, sdk-api
- Status: not yet recorded — the transcript below covers the same material

## What this video covers

Resource requirements belong on the call, not the definition. The options method takes num_cpus and num_gpus and returns a configured version of your distributed function. The scheduler places that call on a node that can satisfy the request. Requesting a GPU for every task in a mixed pipeline wastes capacity and makes tasks queue behind GPU availability they do not need.
