Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
bd5639d3
Commit
bd5639d3
authored
3 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Moved installation under getting-started
parent
8de93bc0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
hpvm/docs/build-hpvm.rst
+1
-1
1 addition, 1 deletion
hpvm/docs/build-hpvm.rst
hpvm/docs/getting-started.rst
+11
-8
11 additions, 8 deletions
hpvm/docs/getting-started.rst
hpvm/docs/index.rst
+3
-1
3 additions, 1 deletion
hpvm/docs/index.rst
with
15 additions
and
10 deletions
hpvm/docs/
install
.rst
→
hpvm/docs/
build-hpvm
.rst
+
1
−
1
View file @
bd5639d3
Install
Building HPVM
===============
Dependencies
...
...
This diff is collapsed.
Click to expand it.
hpvm/docs/getting-started.rst
+
11
−
8
View file @
bd5639d3
Getting Started
===============
This tutorial covers the basic usage of all components in HPVM
(components listed :doc:`here </components/index>`).
We will generate a DNN model, VGG16 (for CIFAR10 dataset), into HPVM code, compile it with HPVM,
This tutorial explains how to build and use HPVM.
* Before you proceed, check out the :doc:`build instruction for HPVM <build-hpvm>`.
To demonstrate the workflow,
we will generate a DNN model, VGG16 (for CIFAR10 dataset), into HPVM code, compile it with HPVM,
perform autotuning on the compiled binary to find approximation choices (configurations),
and profile the selected configurations to get real performance on device.
The result will be a figure showing the accuracy-performance tradeoff of VGG16 over the
(pre-defined) approximations and the configurations in a few formats.
Please check ``test/dnn_benchmarks/model_params/`` exists and contains
``vgg16_cifar10/`` and ``pytorch/vgg16_cifar10.pth.tar``,
which may not be the case if you opted out of model parameter download in the installer.
In that case, you may run the installer again to download the parameter.
It will not rebuild everything from scratch.
*
Please check ``test/dnn_benchmarks/model_params/`` exists and contains
``vgg16_cifar10/`` and ``pytorch/vgg16_cifar10.pth.tar``,
which may not be the case if you opted out of model parameter download in the installer.
In that case, you may run the installer again to download the parameter.
It will not rebuild everything from scratch.
Generating and Compiling a DNN Model
------------------------------------
...
...
This diff is collapsed.
Click to expand it.
hpvm/docs/index.rst
+
3
−
1
View file @
bd5639d3
...
...
@@ -45,11 +45,13 @@ and experiment with new custom approximation techniques.
Documentation
-------------
Please refer to :doc:`getting-started` for how to build and use HPVM.
.. toctree::
:maxdepth: 1
install
getting-started
build-hpvm
FAQs<faqs>
components/index
specifications/index
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment