onnxruntime/onnxruntime
Alberto Magni 031587814b
Add support to save onnx graph with external initializers file. (#6911)
Add functionality to the Graph class to be dumped to protobuf using an external binary file for the float initializers.

This change is meant to avoid hitting the 2GB protobuf limit when dumping large graphs.
This limit was particularly easy to exceed when dumping graphs after auto-diff.
The use of the external file is limited to initializers larger than a user-specified threshold.
This gives the possibility to users to include in the onnx file shape constants used by Reshape and Transpose used by Shape Inference.
2021-03-12 09:15:25 +00:00
..
contrib_ops Implement QLinearAveragePool with unit tests. (#6896) 2021-03-10 10:02:01 -08:00
core Add support to save onnx graph with external initializers file. (#6911) 2021-03-12 09:15:25 +00:00
featurizers_ops/cpu Consolidate MLTypeCallDispatcher classes (#6651) 2021-02-12 13:26:56 -08:00
gsl
python Support symbolic shape infer in transformers tool (#6899) 2021-03-10 21:37:12 -08:00
test Add support to save onnx graph with external initializers file. (#6911) 2021-03-12 09:15:25 +00:00
tool/etw Add option ORT_NO_EXCEPTIONS to disable most exception/throw in /onnxruntime/ (#4894) 2020-08-28 23:03:51 -07:00
.style.yapf Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
__init__.py Add robust dependency check for Python package (#6436) 2021-02-21 15:11:28 -08:00
ReformatSource.ps1
ReformatSourcePython.bat Update GPT2 Model Benchmark Script to Support IO Binding (#4088) 2020-06-01 15:07:48 -07:00
VSCodeCoverage.runsettings