forked from TensorLayer/tensorlayer3
370fdff9da | ||
---|---|---|
.. | ||
README.md | ||
__init__.py | ||
exp_config.py | ||
keras_test.py | ||
pytorch_test.py | ||
tf2-autograph.py | ||
tf2-eager.py | ||
tl2-autograph.py | ||
tl2-eager.py | ||
tl2-static-autograph.py | ||
tl2-static-eager.py |
README.md
Performance Test (VGG16)
Introduction
This test compares performance of the following libraries:
With GPU
Hardware:
- CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz 40 core
- GPU: TITAN Xp
Experiment Settings:
- Model: VGG16
- Batch size: 32
- Number of iterations: 300
Results:
Mode | Lib | Data Format | Max GPU Memory Usage(MB) | Max CPU Memory Usage(MB) | Avg CPU Memory Usage(MB) | Runtime (sec) |
---|---|---|---|---|---|---|
AutoGraph | TensorFlow 2.0 | channel last | 11833 | 2161 | 2136 | 74 |
Tensorlayer 2.0 | channel last | 11833 | 2187 | 2169 | 76 | |
Graph | Keras | channel last | 8677 | 2580 | 2576 | 101 |
Eager | TensorFlow 2.0 | channel last | 8723 | 2052 | 2024 | 97 |
TensorLayer 2.0 | channel last | 8723 | 2010 | 2007 | 95 |