-
Notifications
You must be signed in to change notification settings - Fork 207
Merge plugin/0.2.1 code into master #345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Parent:
Merge master to plugin/0.2
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a087b66
remove the Record Window End event (#298)
guotuofeng d6a5775
Merge from branch tb_plugin (#303)
guyang3532 7455c31
fix bug of kernel out of step (#305)
gaoteng-git 29c3c46
Update readme (#306)
gaoteng-git 3db8e75
rename error word spelling (#307)
gaoteng-git ed81003
fix typo in readme (#312)
guotuofeng 50df0db
add notes of python version in case of circular import bug (#315)
gaoteng-git d51f607
update example to speedup (#316)
gaoteng-git 10ba327
Fix bugs happens with tensorboard 1.15 related to import errors which…
guotuofeng e828a2c
workaround for negative gpu metrics from input json file (#330)
gaoteng-git 0ce4bcb
tb_plugin: follow symlinks when looking for runs (#327)
mautier 4e9859a
return loading run status to frontend to fix a couple of bugs (#341)
guotuofeng 0332c84
Merge branch 'master' into plugin/0.2
guotuofeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,12 +31,12 @@ | |
| torch.profiler.ProfilerActivity.CPU, | ||
| torch.profiler.ProfilerActivity.CUDA], | ||
| schedule=torch.profiler.schedule( | ||
| wait=2, | ||
| warmup=3, | ||
| active=6), | ||
| wait=1, | ||
| warmup=1, | ||
| active=2), | ||
| on_trace_ready=torch.profiler.tensorboard_trace_handler('./result', worker_name='worker0'), | ||
| record_shapes=True, | ||
| profile_memory=True, | ||
| profile_memory=True, # This will take 1 to 2 minutes. Setting it to False could greatly speedup. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest we also add a similar comment to with_stack There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will do in next release. |
||
| with_stack=True | ||
| ) as p: | ||
| for step, data in enumerate(trainloader, 0): | ||
|
|
@@ -49,6 +49,6 @@ | |
| optimizer.zero_grad() | ||
| loss.backward() | ||
| optimizer.step() | ||
| if step + 1 >= 22: | ||
| if step + 1 >= 4: | ||
| break | ||
| p.step() | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The improvements in performance does not normally scale linearly after some point, but not sure how to best express this in a clear way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will consider more clear description in next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to fix a couple of linter warnings so I changed this as well to "a higher value often translates to better performance, especially when the starting value is very low." Sounds OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is ok