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
4014c9f5
Commit
4014c9f5
authored
4 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Bump predtuner version (bugfix) and changes to test script
parent
65bb1fea
No related branches found
Branches containing commit
No related tags found
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/test_tuning.py
+2
-3
2 additions, 3 deletions
hpvm/test/dnn_benchmarks/pytorch/test_tuning/test_tuning.py
with
3 additions
and
4 deletions
predtuner
@
d65bd5c8
Compare
a149e365
...
d65bd5c8
Subproject commit
a149e365170263666db764664ad8ed6b03f258d3
Subproject commit
d65bd5c8b774a3b90e983aba7763342e38757421
This diff is collapsed.
Click to expand it.
hpvm/test/dnn_benchmarks/pytorch/test_tuning/test_tuning.py
+
2
−
3
View file @
4014c9f5
...
@@ -13,8 +13,8 @@ from torch.nn import Module
...
@@ -13,8 +13,8 @@ from torch.nn import Module
site
.
addsitedir
(
Path
(
__file__
).
parent
.
parent
.
absolute
())
site
.
addsitedir
(
Path
(
__file__
).
parent
.
parent
.
absolute
())
import
dnn
import
dnn
# Set up logger
to put log file in /tmp
# Set up logger
msg_logger
=
config_pylogger
(
output_dir
=
"
/tmp
"
,
verbose
=
True
)
msg_logger
=
config_pylogger
(
output_dir
=
"
.
"
,
verbose
=
True
)
benchmarks
=
{
benchmarks
=
{
"
lenet_mnist
"
:
(
dnn
.
LeNet
,
1
,
28
,
1000
),
"
lenet_mnist
"
:
(
dnn
.
LeNet
,
1
,
28
,
1000
),
"
alexnet_imagenet
"
:
(
dnn
.
AlexNetImageNet
,
3
,
224
,
100
),
"
alexnet_imagenet
"
:
(
dnn
.
AlexNetImageNet
,
3
,
224
,
100
),
...
@@ -59,7 +59,6 @@ def main():
...
@@ -59,7 +59,6 @@ def main():
binary_file
,
metadata_file
=
generate
(
binary_file
,
metadata_file
=
generate
(
model_cls
,
nch
,
img_size
,
batch_size
,
netname
model_cls
,
nch
,
img_size
,
batch_size
,
netname
)
)
print
(
Path
.
cwd
(),
binary_file
,
metadata_file
)
app
=
PipedBinaryApp
(
"
test
"
,
binary_file
,
metadata_file
)
app
=
PipedBinaryApp
(
"
test
"
,
binary_file
,
metadata_file
)
tuner
=
app
.
get_tuner
()
tuner
=
app
.
get_tuner
()
tuner
.
tune
(
tuner
.
tune
(
...
...
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