This PR replaces the existing samplers benchmark (old, using the private and deprecated samplers). The new benchmark is the one that was used in https://github.com/pytorch/torchcodec/pull/245
Test:
~/dev/torchcodec (benchmark_samplers*) » python benchmarks/samplers/benchmark_samplers.py
med = 36.88ms +- 8.55
med = 289.40ms +- 273.97
This PR replaces the existing samplers benchmark (old, using the private and deprecated samplers). The new benchmark is the one that was used in https://github.com/pytorch/torchcodec/pull/245
Test: