2020-12-17 11:03:45 +00:00
|
|
|
Benchmark with vanilla PyTorch
|
|
|
|
==============================
|
|
|
|
|
|
|
|
In this section we set grounds for comparison between vanilla PyTorch and PT Lightning for most common scenarios.
|
|
|
|
|
|
|
|
Time comparison
|
|
|
|
---------------
|
|
|
|
|
|
|
|
We have set regular benchmarking against PyTorch vanilla training loop on with RNN and simple MNIST classifier as per of out CI.
|
|
|
|
In average for simple MNIST CNN classifier we are only about 0.06s slower per epoch, see detail chart bellow.
|
|
|
|
|
2021-01-26 20:07:07 +00:00
|
|
|
.. figure:: ../_images/benchmarks/figure-parity-times.png
|
2020-12-17 11:03:45 +00:00
|
|
|
:alt: Speed parity to vanilla PT, created on 2020-12-16
|
|
|
|
:width: 500
|