diff --git a/hpvm/docs/_static/alexnet2_cifar10.png b/hpvm/docs/_static/alexnet2_cifar10.png new file mode 100644 index 0000000000000000000000000000000000000000..56b2f4f4b7800ffd304c0312a14dd27130f483cd Binary files /dev/null and b/hpvm/docs/_static/alexnet2_cifar10.png differ diff --git a/hpvm/docs/_static/alexnet_cifar10.png b/hpvm/docs/_static/alexnet_cifar10.png new file mode 100644 index 0000000000000000000000000000000000000000..805bd8259cfce08bbb4950d25d5ddb48e8a08ac6 Binary files /dev/null and b/hpvm/docs/_static/alexnet_cifar10.png differ diff --git a/hpvm/docs/_static/alexnet_imagenet.png b/hpvm/docs/_static/alexnet_imagenet.png new file mode 100644 index 0000000000000000000000000000000000000000..290b2bb4e60c02e41d14aabe1be5c7c80c8ed8ed Binary files /dev/null and b/hpvm/docs/_static/alexnet_imagenet.png differ diff --git a/hpvm/docs/_static/lenet_mnist.png b/hpvm/docs/_static/lenet_mnist.png new file mode 100644 index 0000000000000000000000000000000000000000..d2e423deb8712aa14abcc10eca5b0f7dff1841d1 Binary files /dev/null and b/hpvm/docs/_static/lenet_mnist.png differ diff --git a/hpvm/docs/_static/mobilenet_cifar10.png b/hpvm/docs/_static/mobilenet_cifar10.png new file mode 100644 index 0000000000000000000000000000000000000000..15447705bd0407ff632ec0c96ce58033dce1d614 Binary files /dev/null and b/hpvm/docs/_static/mobilenet_cifar10.png differ diff --git a/hpvm/docs/_static/resnet18_cifar10.png b/hpvm/docs/_static/resnet18_cifar10.png new file mode 100644 index 0000000000000000000000000000000000000000..566459fbd73d8b48a4f368879a0c64cf626094df Binary files /dev/null and b/hpvm/docs/_static/resnet18_cifar10.png differ diff --git a/hpvm/docs/_static/resnet50_imagenet.png b/hpvm/docs/_static/resnet50_imagenet.png new file mode 100644 index 0000000000000000000000000000000000000000..c46031cb3d3dae36633ac8f48942e2dfb0fa189e Binary files /dev/null and b/hpvm/docs/_static/resnet50_imagenet.png differ diff --git a/hpvm/docs/_static/vgg16_cifar10.png b/hpvm/docs/_static/vgg16_cifar10.png new file mode 100644 index 0000000000000000000000000000000000000000..7ca61df192dcfcd506055e7740534ea7959af53b Binary files /dev/null and b/hpvm/docs/_static/vgg16_cifar10.png differ diff --git a/hpvm/docs/_static/vgg16_cifar100.png b/hpvm/docs/_static/vgg16_cifar100.png new file mode 100644 index 0000000000000000000000000000000000000000..867bb4ee4d92fb3dfbafe1ccb40790dd667e5c82 Binary files /dev/null and b/hpvm/docs/_static/vgg16_cifar100.png differ diff --git a/hpvm/docs/conf.py b/hpvm/docs/conf.py index 8e65a2b3582d69e409820921dc0fe3a37ebaf3d5..fc50b689c7e6e996d2653f973c44573e49d8bc0b 100644 --- a/hpvm/docs/conf.py +++ b/hpvm/docs/conf.py @@ -98,7 +98,7 @@ html_theme_options = { # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = [] +html_static_path = ["_static"] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff --git a/hpvm/docs/gallery.rst b/hpvm/docs/gallery.rst new file mode 100644 index 0000000000000000000000000000000000000000..a7135518729f70c0a28beeec08a8080245352557 --- /dev/null +++ b/hpvm/docs/gallery.rst @@ -0,0 +1,31 @@ +Gallery +======= + +This gallery contains example tradeoff curves for the 10 DNN benchmarks in HPVM. +The performances shown are measured on Jetson TX2; +these numbers are close to what is shown in `ApproxTuner <https://dl.acm.org/doi/10.1145/3437801.3446108>`_, +with small differences due to variation in autotuning and profiling. + +.. list-table:: Tradeoff curves of 9 benchmark DNN networks. + :widths: 30 30 + :header-rows: 0 + + * - .. image:: _static/lenet_mnist.png + :target: _static/lenet_mnist.png + - .. image:: _static/alexnet2_cifar10.png + :target: _static/alexnet2_cifar10.png + * - .. image:: _static/alexnet_cifar10.png + :target: _static/alexnet_cifar10.png + - .. image:: _static/alexnet_imagenet.png + :target: _static/alexnet_imagenet.png + * - .. image:: _static/vgg16_cifar10.png + :target: _static/vgg16_cifar10.png + - .. image:: _static/vgg16_cifar100.png + :target: _static/vgg16_cifar100.png + * - .. image:: _static/resnet18_cifar10.png + :target: _static/resnet18_cifar10.png + - .. image:: _static/resnet50_imagenet.png + :target: _static/resnet50_imagenet.png + * - .. image:: _static/mobilenet_cifar10.png + :target: _static/mobilenet_cifar10.png + - diff --git a/hpvm/docs/getting-started.rst b/hpvm/docs/getting-started.rst index cbf5d0b095c1035acf8bfcc7aaccf1d3cb0be3ce..82a582283e7f7071a77ef55c1e2d9eca5fa9668d 100644 --- a/hpvm/docs/getting-started.rst +++ b/hpvm/docs/getting-started.rst @@ -222,7 +222,7 @@ while ``configs_profiled.png`` shows the final performance-accuracy tradeoff cur An example of ``configs_profiled.png`` looks like this (proportion of your image may be different): -.. image:: tradeoff-curves/alexnet2_cifar10.png +.. image:: _static/alexnet2_cifar10.png ----------------------- diff --git a/hpvm/docs/index.rst b/hpvm/docs/index.rst index e964b84b33265427e929b2c3ee65d3d01d4842c9..70817d4bef3773e36c0033944c83bb9d4cec424e 100644 --- a/hpvm/docs/index.rst +++ b/hpvm/docs/index.rst @@ -54,6 +54,7 @@ Documentation components/index specifications/index developerdocs/index + gallery Indices and tables ------------------ diff --git a/hpvm/docs/tradeoff-curves/alexnet2_cifar10.pdf b/hpvm/docs/tradeoff-curves/alexnet2_cifar10.pdf deleted file mode 100644 index d889f0258cbd0590bb46cf7181295d28120f2470..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/alexnet2_cifar10.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/alexnet2_cifar10.png b/hpvm/docs/tradeoff-curves/alexnet2_cifar10.png deleted file mode 100644 index 754f03248b402e7d55661364311cf9a08763acc0..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/alexnet2_cifar10.png and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/alexnet_cifar10.pdf b/hpvm/docs/tradeoff-curves/alexnet_cifar10.pdf deleted file mode 100644 index 22be739d4367882417b45036ea9fe098b5797e35..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/alexnet_cifar10.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/alexnet_imagenet.pdf b/hpvm/docs/tradeoff-curves/alexnet_imagenet.pdf deleted file mode 100644 index b3bcc6e53b091d0c8ac317fe8f3d9cfb6a79fb80..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/alexnet_imagenet.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/index.rst b/hpvm/docs/tradeoff-curves/index.rst deleted file mode 100644 index 551ac34089fd55872ef3c408948c6c6d63707d87..0000000000000000000000000000000000000000 --- a/hpvm/docs/tradeoff-curves/index.rst +++ /dev/null @@ -1,6 +0,0 @@ -Gallery -======= - -This gallery contains example tradeoff curves for the 10 DNN benchmarks in HPVM. - -.. image:: alexnet_cifar10.pdf diff --git a/hpvm/docs/tradeoff-curves/lenet_mnist.pdf b/hpvm/docs/tradeoff-curves/lenet_mnist.pdf deleted file mode 100644 index 84698551202cdb4d6bf712a5135e107a4676eb34..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/lenet_mnist.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/mobilenet_cifar10.pdf b/hpvm/docs/tradeoff-curves/mobilenet_cifar10.pdf deleted file mode 100644 index cf61f76c89fcf5c9848b473cd093411d8f4a6255..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/mobilenet_cifar10.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/resnet18_cifar10.pdf b/hpvm/docs/tradeoff-curves/resnet18_cifar10.pdf deleted file mode 100644 index 5950d202dee146983cce542ce32ec91887dd379d..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/resnet18_cifar10.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/resnet50_imagenet.pdf b/hpvm/docs/tradeoff-curves/resnet50_imagenet.pdf deleted file mode 100644 index 67d3651bf15ab0b7c1350988846072fd712f4b4f..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/resnet50_imagenet.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/vgg16_cifar10.pdf b/hpvm/docs/tradeoff-curves/vgg16_cifar10.pdf deleted file mode 100644 index 6a225ba372de053592d39e435c6b5f0a14e70a53..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/vgg16_cifar10.pdf and /dev/null differ diff --git a/hpvm/docs/tradeoff-curves/vgg16_cifar100.pdf b/hpvm/docs/tradeoff-curves/vgg16_cifar100.pdf deleted file mode 100644 index 36a1dcd95c253a2e6073213034bab496910c2bcd..0000000000000000000000000000000000000000 Binary files a/hpvm/docs/tradeoff-curves/vgg16_cifar100.pdf and /dev/null differ