Skip to main content
Source: demo/cpu_job/app.py in the repository. The smallest useful thing: a Python function that runs remotely, one container per call, and fans out.
Notes
  • .remote(...) runs once and returns the result; .map(iterable) runs one container per item.
  • cpu= and memory= are per container; timeout= and retries= control failures.
  • The dashboard’s Apps page lists this function and its runs.