fhelium.benchmarks.v1.platform
Best-effort platform and FHElium build provenance collection.
sanitize_invocation
function View source
python
def sanitize_invocation(arguments: Sequence[str]) -> tuple[str, ...]: ...1
Remove credential-like values and host-specific home-directory paths.
collect_platform
function View source
python
def collect_platform(*, invocation: Sequence[str] | None=None, environ: Mapping[str, str] | None=None) -> PlatformSnapshot: ...1
Collect normalized reproducibility data without requiring every probe.
Optional probe failures are represented in probe_errors. CUDA device and P2P inventory deliberately disables the disruptive bandwidth test. Environment capture is limited to a fixed CUDA/NCCL allowlist.