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
308eaa0c
Commit
308eaa0c
authored
4 years ago
by
hashimsharif
Browse files
Options
Downloads
Patches
Plain Diff
Updating resNet and vgg16 times with GPU profiled numbers
parent
4a98523a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
+9
-3
9 additions, 3 deletions
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
with
9 additions
and
3 deletions
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
+
9
−
3
View file @
308eaa0c
...
...
@@ -14,13 +14,17 @@ class Benchmark:
ResNet50
=
Benchmark
()
ResNet50
.
binary_path
=
"
resnet_imagenet
"
ResNet50
.
binary_time
=
5.1
*
60
# 5.1 mins * 60 secs/min
#ResNet50.binary_time = 5.1 * 60 # 5.1 mins * 60 secs/min
ResNet50
.
binary_time
=
3.85
*
100
# 5.1 mins * 60 secs/min
ResNet50
.
batch_time
=
3.85
# Time for batch with 50 images
ResNet50
.
num_layers
=
53
VGG16_ImageNet
=
Benchmark
()
VGG16_ImageNet
.
binary_path
=
"
vgg16_imagenet
"
VGG16_ImageNet
.
binary_time
=
10.6
*
60
# 5.1 mins * 60 secs/min
#VGG16_ImageNet.binary_time = 10.6 * 60 # 5.1 mins * 60 secs/min
VGG16_ImageNet
.
binary_time
=
4.55
*
100
# 5.1 mins * 60 secs/min
VGG16_ImageNet
.
batch_time
=
4.55
VGG16_ImageNet
.
num_layers
=
16
...
...
@@ -40,8 +44,10 @@ total_confs = 50
def
getErrorProfileTime
(
Bench
):
time_per_batch
=
Bench
.
binary_time
/
batch_count
#
time_per_batch = Bench.binary_time / batch_count
time_per_batch
=
Bench
.
batch_time
total_knobs
=
promise_knobs
*
Bench
.
num_layers
total_runs
=
total_knobs
*
promise_prof_runs
...
...
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