forked from pytorch/benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove double export and session init in perf test (#114907)
Summary: Previously both `optimize_ctx` call and `experiment` call will do export and session creation, ending up doubling the resource cost. This PR makes `experiment` call re-use the onnx model created by `optimize_ctx`. X-link: pytorch/pytorch#114907 Approved by: https://github.com/thiagocrepaldi ghstack dependencies: #110178 Reviewed By: atalman Differential Revision: D51778269 fbshipit-source-id: ea29466a2df8f4801cb9f0a7870d3a8c6eda0a2b
- Loading branch information
1 parent
8f7ee82
commit 7de2aed
Showing
1 changed file
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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