pytorch/benchmarks
Jeff Moe e5ae8f15ad Forklet of Pytorch 2023-11-08 09:01:59 -07:00
..
cpp Forklet of Pytorch 2023-11-08 09:01:59 -07:00
distributed Forklet of Pytorch 2023-11-08 09:01:59 -07:00
dynamo Forklet of Pytorch 2023-11-08 09:01:59 -07:00
fastrnns Forklet of Pytorch 2023-11-08 09:01:59 -07:00
framework_overhead_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
functional_autograd_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
fuser Forklet of Pytorch 2023-11-08 09:01:59 -07:00
instruction_counts Forklet of Pytorch 2023-11-08 09:01:59 -07:00
nested Forklet of Pytorch 2023-11-08 09:01:59 -07:00
operator_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
overrides_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
profiler_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
record_function_benchmark Forklet of Pytorch 2023-11-08 09:01:59 -07:00
serialization Forklet of Pytorch 2023-11-08 09:01:59 -07:00
sparse Forklet of Pytorch 2023-11-08 09:01:59 -07:00
static_runtime Forklet of Pytorch 2023-11-08 09:01:59 -07:00
tensorexpr Forklet of Pytorch 2023-11-08 09:01:59 -07:00
transformer Forklet of Pytorch 2023-11-08 09:01:59 -07:00
README.md Forklet of Pytorch 2023-11-08 09:01:59 -07:00
compare-fastrnn-results.py Forklet of Pytorch 2023-11-08 09:01:59 -07:00
compare.sh Forklet of Pytorch 2023-11-08 09:01:59 -07:00
upload_scribe.py Forklet of Pytorch 2023-11-08 09:01:59 -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