DVBench client¶
dvbench Python client.
Client ¶
Source code in dvbench/client.py
create_benchmark ¶
create_benchmark(name: str, description: str, measurement_ids: Iterable[int], key_measurement_id: int, *, sort_direction: Literal['asc', 'desc'] = 'desc', long_description: str | None = None) -> dict[str, Any]
Create a leaderboard from existing measurement definitions.
Source code in dvbench/client.py
define_measurement ¶
define_measurement(name: str, description: str, *, long_description: str | None = None) -> dict[str, Any]
Create or update a measurement definition.
Source code in dvbench/client.py
measurement_status ¶
Return the worker result, or None while the request is still in flight.
Source code in dvbench/client.py
DVBenchProof ¶
Add upload and cleanup behavior to a concrete ZKDV proof.
Experiment.proof combines this mixin with the selected backend's ZKDV
class. The returned object must itself be the ZKDV driver: integrations
such as zkdv.jax.contrib.TrainState use object identity to ensure that
compiled and applied updates belong to the same proof.
Experiment ¶
Experiment(record: dict[str, Any], client: Client)
Source code in dvbench/experiment.py
measure_opening ¶
Measure a checkpoint with a compact projection opening computed externally.
Source code in dvbench/experiment.py
client ¶
HTTP client for the dvbench API.
Client ¶
Source code in dvbench/client.py
create_benchmark ¶
create_benchmark(name: str, description: str, measurement_ids: Iterable[int], key_measurement_id: int, *, sort_direction: Literal['asc', 'desc'] = 'desc', long_description: str | None = None) -> dict[str, Any]
Create a leaderboard from existing measurement definitions.
Source code in dvbench/client.py
define_measurement ¶
define_measurement(name: str, description: str, *, long_description: str | None = None) -> dict[str, Any]
Create or update a measurement definition.
Source code in dvbench/client.py
measurement_status ¶
Return the worker result, or None while the request is still in flight.
Source code in dvbench/client.py
experiment ¶
Experiment training and measurement lifecycle.
Experiment ¶
Experiment(record: dict[str, Any], client: Client)
Source code in dvbench/experiment.py
measure_opening ¶
Measure a checkpoint with a compact projection opening computed externally.
Source code in dvbench/experiment.py
measurement ¶
proof ¶
Lifecycle shared by the concrete JAX and Torch dvbench proofs.
DVBenchProof ¶
Add upload and cleanup behavior to a concrete ZKDV proof.
Experiment.proof combines this mixin with the selected backend's ZKDV
class. The returned object must itself be the ZKDV driver: integrations
such as zkdv.jax.contrib.TrainState use object identity to ensure that
compiled and applied updates belong to the same proof.
sketch ¶
Incremental checkpoint projection against transcript probe vectors.
uploader ¶
Live streaming for dvbench proofs.