Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
29a7da44
Commit
29a7da44
authored
Dec 06, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
e59db03b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/tutorial/performance-tuning.md
docs/tutorial/performance-tuning.md
+4
-4
No files found.
docs/tutorial/performance-tuning.md
View file @
29a7da44
# Performance Tuning
# Performance Tuning
__We do not know why your training is slow__
.
__We do not know why your training is slow__
(and most of the times it's not a tensorpack problem)
.
Performance is different
across machines and tasks
. So you need to figure out most parts by your own.
Performance is different
on every machine
. So you need to figure out most parts by your own.
Here's a list of things you can do when your training is slow.
Here's a list of things you can do when your training is slow.
If you're going to open an issue about slow training, PLEASE do them and include your findings.
If you're going to open an issue about slow training, PLEASE do them and include your findings.
...
@@ -34,8 +34,8 @@ Understand the [Efficient DataFlow](efficient-dataflow.html) tutorial, so you kn
...
@@ -34,8 +34,8 @@ Understand the [Efficient DataFlow](efficient-dataflow.html) tutorial, so you kn
Benchmark your DataFlow with modifications and you'll understand which part is the bottleneck. Some examples
Benchmark your DataFlow with modifications and you'll understand which part is the bottleneck. Some examples
include:
include:
1.
Remove everything except for the
raw reader (and perhaps add some prefetching).
1.
Benchmark only
raw reader (and perhaps add some prefetching).
2.
Remove some suspicious pre-processing
.
2.
Gradually add some pre-processing and see how the performance changes
.
3.
Change the number of parallel processes or threads.
3.
Change the number of parallel processes or threads.
A DataFlow could be blocked by CPU/hard disk/network/IPC bandwidth. Only by benchmarking will you
A DataFlow could be blocked by CPU/hard disk/network/IPC bandwidth. Only by benchmarking will you
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment