Skip to content
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

latency measurements and exporter functions to nnp and onnx #7

Conversation

TE-JavierAlonsoGarcia
Copy link
Contributor

This is the development branch for doing latency measurements on cpuand gpu, and creating an exporter to nnp and onnx:

New definition of the networks for zoph and random wired search space. Added functions to measure latency and to export to onnx for zoph and random wired and mobilenet search spaces. Bug fixing for calculation of latency. Two Latency estimators: LatencyEstimator(), a module-based latency estimator, LatencyGraphEstimator(), and a graph-based latency estimator. Both work for static as well as for dynamic modules. Central script that shows examples how to trigger the calculation of the latency and exporting to onnx for zoph, random wired and mobilenet search spaces. The latency estimation can be carried out on cpu or gpu. Another simpler script with an example for quick latency calculation. Updated Documentation- Code works with nnabla version 1.19.0.

…and gpu, and creating an exporter to nnp and onnx:

New definition of the networks for zoph and random wired search space. Added functions to measure latency and to export to onnx for zoph and random wired and mobilenet search spaces. Bug fixing for calculation of latency. Two Latency estimators: LatencyEstimator(), a module-based latency estimator, LatencyGraphEstimator(), and a graph-based latency estimator. Both work for static as well as for dynamic modules. Central script that shows examples how to trigger the calculation of the latency and exporting to onnx for zoph, random wired and mobilenet search spaces. The latency estimation can be carried out on cpu or gpu. Another simpler script with an example for quick latency calculation. Updated Documentation- Code works with nnabla version 1.19.0.
@TE-JavierAlonsoGarcia TE-JavierAlonsoGarcia merged commit d9b9899 into master Jun 17, 2021
@FabienCardinaux FabienCardinaux deleted the feature/20210601-latency_meas_and_nnp_onnx_export branch November 12, 2021 14:32
@TomonobuTsujikawa TomonobuTsujikawa added the release-note-core Auto-release; Core engine and library improvement and enhancement label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-core Auto-release; Core engine and library improvement and enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants