Esacode

Docs / Blocks / Simulation

Accelerator benchmark

Checks the worker's accelerators and measures its speed.

Runs on a worker (Python) Simulation Version 1.0 Code you can open and adapt

How it works

Lists every accelerator and driver the worker finds, then measures CPU throughput and memory bandwidth. Put it first in a flow to check a new worker.

Outputs

OutputGivesWhat it is
Results
metrics
Metrics
json
benchmark.json: throughput and memory of each accelerator
Live telemetry
telemetry
Live telemetryWhat the block sends while it runs, for views such as Chart or 3D view.

Settings

SettingDefaultWhat it does
Duration (seconds)
duration
20
From 5 to 3600
Precision
precision
fp32
One of: fp32, fp16, bf16

Where it runs

On one of your computers with the EsaSim worker: NVIDIA GPU, AMD GPU, Intel GPU, huawei, Tenstorrent, Any worker.

In its code, settings are ctx.params["key"], inputs ctx.inputs["id"] and outputs ctx.output("id", "name.ext"); see Custom blocks.

More in Simulation