Skip to main content

options()

The method that sets per-call resource requirements on a distributed function, such as num_cpus or num_gpus.

Resource needs belong on the call rather than the definition, so the same function can be invoked cheaply in one place and with a GPU in another.

SDK & APIGPU & acceleration

Related terms

  • distribute decorator: The `eugo.hpc` decorator that turns a function into a distributed task, or a class into an actor. A decorated call returns a future instead of a value.
  • GPU: A graphics processing unit. Hardware with many parallel cores, well suited to large array and matrix operations.
  • Scheduler: The component on the head node that decides which compute node runs each task, honoring the resources that task requested.
  • `eugo.hpc`: The Python module holding Eugo’s distributed-compute API. The top-level eugo namespace is deliberately empty; everything lives under `eugo.hpc`.