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
2fa0b16a
Commit
2fa0b16a
authored
4 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Finished piped binary support
parent
f68e7c0f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpvm/projects/predtuner
+1
-1
1 addition, 1 deletion
hpvm/projects/predtuner
hpvm/test/dnn_benchmarks/pytorch/test_tuning.py
+4
-2
4 additions, 2 deletions
hpvm/test/dnn_benchmarks/pytorch/test_tuning.py
with
5 additions
and
3 deletions
predtuner
@
6ff4237c
Compare
65165faf
...
6ff4237c
Subproject commit 6
5165fafe9ea011bd172d869ca424d7a4d648a48
Subproject commit 6
ff4237cf4386ebb4fcaeb5e448ef6eac8a41c91
This diff is collapsed.
Click to expand it.
hpvm/test/dnn_benchmarks/pytorch/test_tuning.py
+
4
−
2
View file @
2fa0b16a
...
...
@@ -53,5 +53,7 @@ if not binary_file.is_file() or not metadata_file.is_file():
model
,
bin_tuneset
,
bin_testset
,
codegen_dir
,
target
=
"
hpvm_tensor_inspect
"
)
exporter
.
generate
(
batch_size
=
batch_size
).
compile
(
binary_file
,
build_dir
)
app
=
PipedBinaryApp
(
"
test
"
,
codegen_dir
,
"
ops.json
"
,
f
"
build/
{
pathname
}
"
,
"
hpvm_fifo
"
)
app
.
measure_qos_perf
({},
False
)
app
=
PipedBinaryApp
(
"
test
"
,
binary_file
,
metadata_file
)
tuner
=
app
.
get_tuner
()
tuner
.
tune
(
100
,
3.0
,
is_threshold_relative
=
True
,
perf_model
=
"
perf_linear
"
,
qos_model
=
"
qos_p1
"
)
tuner
.
dump_configs
(
"
configs.json
"
)
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