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
55f640f7
Commit
55f640f7
authored
Jan 12, 2019
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #1046
parent
8566797f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
docs/tutorial/performance-tuning.md
docs/tutorial/performance-tuning.md
+2
-1
tensorpack/tfutils/summary.py
tensorpack/tfutils/summary.py
+1
-1
No files found.
docs/tutorial/performance-tuning.md
View file @
55f640f7
...
@@ -99,6 +99,7 @@ If you're unable to scale to multiple GPUs almost linearly:
...
@@ -99,6 +99,7 @@ If you're unable to scale to multiple GPUs almost linearly:
If not, it's a bug or an environment setup problem.
If not, it's a bug or an environment setup problem.
2.
Then note that your model may have a different communication-computation pattern that affects efficiency.
2.
Then note that your model may have a different communication-computation pattern that affects efficiency.
There isn't a simple answer to this.
There isn't a simple answer to this.
You may try a different multi-GPU trainer; the speed can vary a lot in rare cases.
You may try a different multi-GPU trainer; the speed can vary a lot between
trainers in rare cases.
Note that scalibility is always measured by keeping "batch size per GPU" constant.
Note that scalibility is always measured by keeping "batch size per GPU" constant.
tensorpack/tfutils/summary.py
View file @
55f640f7
...
@@ -118,7 +118,7 @@ def add_tensor_summary(x, types, name=None, collections=None,
...
@@ -118,7 +118,7 @@ def add_tensor_summary(x, types, name=None, collections=None,
if
name
is
None
:
if
name
is
None
:
name
=
x
.
op
.
name
name
=
x
.
op
.
name
ctx
=
get_current_tower_context
()
ctx
=
get_current_tower_context
()
if
ctx
is
not
None
and
not
ctx
.
is_main_training_tower
:
if
main_tower_only
and
ctx
is
not
None
and
not
ctx
.
is_main_training_tower
:
return
return
SUMMARY_TYPES_DIC
=
{
SUMMARY_TYPES_DIC
=
{
...
...
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