-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[PyTorch] Solved two syntax issues when dumping execution graph result to json file. #81854
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
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit ced9684 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
This pull request was exported from Phabricator. Differential Revision: D37292316 |
e729f0b
to
661d17f
Compare
This pull request was exported from Phabricator. Differential Revision: D37292316 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D37292316 |
661d17f
to
c2ed4e3
Compare
…t to json file. (pytorch#81854) Summary: Pull Request resolved: pytorch#81854 Solved two syntax issues when dumping execution graph outputs to a json file. 1. Added workarounds to properly dump inf/nan values. 2. Added support for JSON string escape. Test Plan: ``` buck build mode/dev-nosan caffe2/test:profiler --show-output buck-out/gen/caffe2/test/profiler#binary.par test_profiler.TestExecutionGraph.test_execution_graph_start_stop ``` Output execution graph: P518622984 Reviewed By: louisfeng, chaekit, aaronenyeshi Differential Revision: D37292316 fbshipit-source-id: f2cc663528fc508913731ee47f48e39297478d93
c2ed4e3
to
ced9684
Compare
This pull request was exported from Phabricator. Differential Revision: D37292316 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @louisfeng. |
…t to json file. (#81854) Summary: Pull Request resolved: #81854 Solved two syntax issues when dumping execution graph outputs to a json file. 1. Added workarounds to properly dump inf/nan values. 2. Added support for JSON string escape. Test Plan: ``` buck build mode/dev-nosan caffe2/test:profiler --show-output buck-out/gen/caffe2/test/profiler#binary.par test_profiler.TestExecutionGraph.test_execution_graph_start_stop ``` Output execution graph: P518622984 Reviewed By: louisfeng, chaekit, aaronenyeshi Differential Revision: D37292316 fbshipit-source-id: 1f07813a63de9b71d022f499fd4190ee3207ec96
Summary:
Solved two syntax issues when dumping execution graph outputs to a json file.
Test Plan:
Differential Revision: D37292316