pytorch/benchmarks
Jeff Moe b8fc24e092 Upstream v2.1.0 2023-11-08 09:13:36 -07:00
..
cpp Upstream v2.1.0 2023-11-08 09:13:36 -07:00
distributed Upstream v2.1.0 2023-11-08 09:13:36 -07:00
dynamo Upstream v2.1.0 2023-11-08 09:13:36 -07:00
fastrnns Upstream v2.1.0 2023-11-08 09:13:36 -07:00
framework_overhead_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
functional_autograd_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
fuser Upstream v2.1.0 2023-11-08 09:13:36 -07:00
instruction_counts Upstream v2.1.0 2023-11-08 09:13:36 -07:00
nested Upstream v2.1.0 2023-11-08 09:13:36 -07:00
operator_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
overrides_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
profiler_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
record_function_benchmark Upstream v2.1.0 2023-11-08 09:13:36 -07:00
serialization Upstream v2.1.0 2023-11-08 09:13:36 -07:00
sparse Upstream v2.1.0 2023-11-08 09:13:36 -07:00
static_runtime Upstream v2.1.0 2023-11-08 09:13:36 -07:00
tensorexpr Upstream v2.1.0 2023-11-08 09:13:36 -07:00
transformer Upstream v2.1.0 2023-11-08 09:13:36 -07:00
README.md Upstream v2.1.0 2023-11-08 09:13:36 -07:00
compare-fastrnn-results.py Upstream v2.1.0 2023-11-08 09:13:36 -07:00
compare.sh Forklet of Pytorch 2023-11-08 09:01:59 -07:00
upload_scribe.py Upstream v2.1.0 2023-11-08 09:13:36 -07:00

README.md

PyTorch Benchmarks

This folder contains scripts that produce reproducible timings of various PyTorch features.

It also provides mechanisms to compare PyTorch with other frameworks.

Setup environment

Make sure you're on a machine with CUDA, torchvision, and pytorch installed. Install in the following order:

# Install torchvision. It comes with the pytorch stable release binary
conda install pytorch torchvision -c pytorch

# Install the latest pytorch master from source.
# It should supersede the installation from the release binary.
cd $PYTORCH_HOME
python setup.py build develop

# Check the pytorch installation version
python -c "import torch; print(torch.__version__)"

Benchmark List

Please refer to each subfolder to discover each benchmark suite. Links are provided where descriptions exist: