• Home
Name Date Size #Lines LOC

..--

distributed/04-Jul-2025-3,1112,600

dynamo/04-Jul-2025-54,05441,042

fastrnns/04-Jul-2025-2,2491,727

framework_overhead_benchmark/04-Jul-2025-216173

functional_autograd_benchmark/04-Jul-2025-2,6662,085

fuser/04-Jul-2025-361246

gpt_fast/04-Jul-2025-1,6111,269

inference/04-Jul-2025-689553

instruction_counts/04-Jul-2025-2,2381,720

nested/04-Jul-2025-6755

operator_benchmark/04-Jul-2025-7,4795,657

overrides_benchmark/04-Jul-2025-176123

profiler_benchmark/04-Jul-2025-143112

record_function_benchmark/04-Jul-2025-11995

serialization/04-Jul-2025-7251

sparse/04-Jul-2025-1,5241,228

static_runtime/04-Jul-2025-14,61412,610

tensorexpr/04-Jul-2025-2,7862,202

transformer/04-Jul-2025-1,7221,395

README.mdD04-Jul-20251.1 KiB3425

compare-fastrnn-results.pyD04-Jul-20252.1 KiB7360

compare.shD04-Jul-2025230 53

upload_scribe.pyD04-Jul-20255.7 KiB164149

README.md

1# PyTorch Benchmarks
2
3This folder contains scripts that produce reproducible timings of various PyTorch features.
4
5It also provides mechanisms to compare PyTorch with other frameworks.
6
7## Setup environment
8Make sure you're on a machine with CUDA, torchvision, and pytorch installed. Install in the following order:
9```
10# Install torchvision. It comes with the pytorch stable release binary
11conda install pytorch torchvision -c pytorch
12
13# Install the latest pytorch master from source.
14# It should supersede the installation from the release binary.
15cd $PYTORCH_HOME
16python setup.py build develop
17
18# Check the pytorch installation version
19python -c "import torch; print(torch.__version__)"
20```
21
22## Benchmark List
23
24Please refer to each subfolder to discover each benchmark suite. Links are provided where descriptions exist:
25
26* [Fast RNNs](fastrnns/README.md)
27* [Dynamo](dynamo/README.md)
28* [Functional autograd](functional_autograd_benchmark/README.md)
29* [Instruction counts](instruction_counts/README.md)
30* [Operator](operator_benchmark/README.md)
31* [Overrides](overrides_benchmark/README.md)
32* [Sparse](sparse/README.md)
33* [Tensor expression](tensorexpr/HowToRun.md)
34