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
77fab8ab
Commit
77fab8ab
authored
4 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Updated setup.py and removed outdated TODO
parent
a2b3e99a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpvm/projects/torch2hpvm/TODO.md
+0
-43
0 additions, 43 deletions
hpvm/projects/torch2hpvm/TODO.md
hpvm/projects/torch2hpvm/setup.py
+7
-4
7 additions, 4 deletions
hpvm/projects/torch2hpvm/setup.py
with
7 additions
and
47 deletions
hpvm/projects/torch2hpvm/TODO.md
deleted
100644 → 0
+
0
−
43
View file @
a2b3e99a
# What kind of models we should use
ResNet-50 -> as a start?
BERT
Mask R-CNN
# Questions from Sudipta
Graph optimization: operator fusions, data layout transformations
Vectorization/tensorization
Automatic scheduling
Handling dynamic control flow in model graph
Automatic differentiation
# Operators used in the BERT model available in the ONNX model zoo, organized by type and number of occurences
https://github.com/onnx/models/tree/master/text/machine_comprehension/bert-squad
(Opset 10 versions)
DATA MANIPULATION
Unsqueeze 191
Reshape 71
Cast 70
Transpose 62
Concat 56
Identity 28
Squeeze 7
Slice
Shape 5
ConstantOfShape 1
Gather 1
OneHot 1
Split 1
COMPUTATION
Mul 186
Add 185
MatMul 98
Sub 62
ReduceMean 50
Sqrt 25
Reciprocal 25
Softmax 12
Pow 12
Tanh 12
This diff is collapsed.
Click to expand it.
hpvm/projects/torch2hpvm/setup.py
+
7
−
4
View file @
77fab8ab
...
...
@@ -4,11 +4,14 @@ setup(
name
=
"
torch2hpvm
"
,
version
=
"
1.0
"
,
description
=
"
PyTorch frontend for HPVM
"
,
author
=
"
Y
uanjing Shi, Yifan Zhao
"
,
author_email
=
"
y
s2
6@illinois.edu, y
ifanz1
6@illinois.edu
"
,
author
=
"
Y
ifan Zhao, Yuanjing Shi
"
,
author_email
=
"
y
ifanz1
6@illinois.edu, y
s2
6@illinois.edu
"
,
packages
=
[
"
torch2hpvm
"
],
install_requires
=
[
"
jinja2>=2.11
"
,
"
networkx>=2.5
"
,
"
onnx>=1.8.0
"
,
"
torch
"
,
"
onnx-simplifier>=0.2.27
"
"
jinja2>=2.11
"
,
"
networkx>=2.5
"
,
"
onnx>=1.8.0
"
,
"
torch>=1.5
"
,
"
onnx-simplifier>=0.2.27
"
,
],
entry_points
=
{
"
console_scripts
"
:
[
"
torch2hpvm=torch2hpvm:main
"
]},
)
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