-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[profiler] Support top-level memory events #51421
Commits on Jan 31, 2021
-
[profiler] Support top-level memory events
Summary: Mark memory events that did not happen within an operator context explicitly in the profiler output. This PR also adds an API to track memory events outside of or partially overlapping with the profiler scope. Test Plan: python test/test_profiler.py -k test_memory_profiler [ghstack-poisoned]
ilia-cher committedJan 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 289a14b - Browse repository at this point
Copy the full SHA 289a14bView commit details
Commits on Feb 2, 2021
-
Update on "[profiler] Support top-level memory events"
Summary: Mark memory events that did not happen within an operator context explicitly in the profiler output. This PR also adds an API to track memory events outside of or partially overlapping with the profiler scope. Test Plan: python test/test_profiler.py -k test_memory_profiler ``` ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ Name Self CPU % Self CPU CPU total % CPU total CPU time avg CPU Mem Self CPU Mem CUDA Mem Self CUDA Mem # of Calls ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ aten::rand 40.00% 10.000us 100.00% 25.000us 25.000us 400 b 0 b 0 b 0 b 1 aten::empty 24.00% 6.000us 24.00% 6.000us 6.000us 400 b 400 b 0 b 0 b 1 aten::uniform_ 36.00% 9.000us 36.00% 9.000us 9.000us 0 b 0 b 0 b 0 b 1 [memory] 0.00% 0.000us 0.00% 0.000us 0.000us -400 b -400 b -512 b -512 b 2 ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ``` Differential Revision: [D26166518](https://our.internmc.facebook.com/intern/diff/D26166518) [ghstack-poisoned]
ilia-cher committedFeb 2, 2021 Configuration menu - View commit details
-
Copy full SHA for 6e974a3 - Browse repository at this point
Copy the full SHA 6e974a3View commit details
Commits on Feb 3, 2021
-
Update on "[profiler] Support top-level memory events"
Summary: Mark memory events that did not happen within an operator context explicitly in the profiler output. This PR also adds an API to track memory events outside of or partially overlapping with the profiler scope. Test Plan: python test/test_profiler.py -k test_memory_profiler ``` ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ Name Self CPU % Self CPU CPU total % CPU total CPU time avg CPU Mem Self CPU Mem CUDA Mem Self CUDA Mem # of Calls ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ aten::rand 40.00% 10.000us 100.00% 25.000us 25.000us 400 b 0 b 0 b 0 b 1 aten::empty 24.00% 6.000us 24.00% 6.000us 6.000us 400 b 400 b 0 b 0 b 1 aten::uniform_ 36.00% 9.000us 36.00% 9.000us 9.000us 0 b 0 b 0 b 0 b 1 [memory] 0.00% 0.000us 0.00% 0.000us 0.000us -400 b -400 b -512 b -512 b 2 ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ``` Differential Revision: [D26166518](https://our.internmc.facebook.com/intern/diff/D26166518) [ghstack-poisoned]
ilia-cher committedFeb 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 7d1d418 - Browse repository at this point
Copy the full SHA 7d1d418View commit details -
Update on "[profiler] Support top-level memory events"
Summary: Mark memory events that did not happen within an operator context explicitly in the profiler output. This PR also adds an API to track memory events outside of or partially overlapping with the profiler scope. Test Plan: python test/test_profiler.py -k test_memory_profiler ``` ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ Name Self CPU % Self CPU CPU total % CPU total CPU time avg CPU Mem Self CPU Mem CUDA Mem Self CUDA Mem # of Calls ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ aten::rand 40.00% 10.000us 100.00% 25.000us 25.000us 400 b 0 b 0 b 0 b 1 aten::empty 24.00% 6.000us 24.00% 6.000us 6.000us 400 b 400 b 0 b 0 b 1 aten::uniform_ 36.00% 9.000us 36.00% 9.000us 9.000us 0 b 0 b 0 b 0 b 1 [memory] 0.00% 0.000us 0.00% 0.000us 0.000us -400 b -400 b -512 b -512 b 2 ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ``` Differential Revision: [D26166518](https://our.internmc.facebook.com/intern/diff/D26166518) [ghstack-poisoned]
ilia-cher committedFeb 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 479a7e0 - Browse repository at this point
Copy the full SHA 479a7e0View commit details
Commits on Feb 4, 2021
-
Update on "[profiler] Support top-level memory events"
Summary: Mark memory events that did not happen within an operator context explicitly in the profiler output. Test Plan: python test/test_profiler.py -k test_memory_profiler ``` ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ Name Self CPU % Self CPU CPU total % CPU total CPU time avg CPU Mem Self CPU Mem CUDA Mem Self CUDA Mem # of Calls ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ aten::rand 40.00% 10.000us 100.00% 25.000us 25.000us 400 b 0 b 0 b 0 b 1 aten::empty 24.00% 6.000us 24.00% 6.000us 6.000us 400 b 400 b 0 b 0 b 1 aten::uniform_ 36.00% 9.000us 36.00% 9.000us 9.000us 0 b 0 b 0 b 0 b 1 [memory] 0.00% 0.000us 0.00% 0.000us 0.000us -400 b -400 b -512 b -512 b 2 ------------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ``` Differential Revision: [D26166518](https://our.internmc.facebook.com/intern/diff/D26166518) [ghstack-poisoned]
ilia-cher committedFeb 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 326f80c - Browse repository at this point
Copy the full SHA 326f80cView commit details