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.
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.pyruns cleanly on trn1 viascripts/run_neuron_tests.sh.uniform,normal,truncated_normal,sobol,latin_hypercubeat sizes 128² / 256² / 512² / 1024².docs/benchmarks.md+ linked frommkdocs.ymlnav (mirroring trnfft's structure).