← Về thư mục
skills/pufferlib/scripts/benchmark_vectorization.py
- _run_partition · function · L22-L43 — def _run_partition(payload: tuple[int, int, int, int, int]) -> dict[str, Any]
- _partitions · function · L46-L62 — def _partitions( *, num_envs: int, workers: int, steps_per_env: int, seed: int, max_steps: int, ) -> list[tuple[int, int, int, int, int]]
- _summarize · function · L65-L78 — def _summarize(samples: list[float]) -> dict[str, float]
- percentile · function · L68-L70 — def percentile(fraction: float) -> float
- benchmark · function · L81-L176 — def benchmark( *, backend: str, num_envs: int, workers: int, steps_per_env: int, repeats: int, warmup_steps: int, seed: int, max_steps: int, start_method: str, ) -> dict[str, Any]
- build_parser · function · L179-L204 — def build_parser() -> argparse.ArgumentParser
- main · function · L207-L240 — def main(argv: list[str] | None = None) -> int