Skip to content

Benchmarks vs cuRAND #3

Description

@scttfrdmn

Three-baseline comparison on trn1.2xlarge — NKI Philox vs torch.Generator (PyTorch CPU) vs cuRAND (reference, run separately on a GPU box for the writeup).

Acceptance:

  • benchmarks/bench_rand.py runs cleanly on trn1 via scripts/run_neuron_tests.sh.
  • Cold + warm pass timings recorded for uniform, normal, truncated_normal, sobol, latin_hypercube at sizes 128² / 256² / 512² / 1024².
  • Results summarized in docs/benchmarks.md + linked from mkdocs.yml nav (mirroring trnfft's structure).
  • Note where the GpSimd Philox wins / loses vs Tensor Engine fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchmarkPerformance benchmarks and profiling

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions