Skip to content

Commit 4765f69

Browse files
committed
support onnx export of 2GB models
1 parent 22ded46 commit 4765f69

27 files changed

+2175
-449
lines changed

Documentation/current_iteration.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Highlights of this release
44
* Moved to CUDA 10 for both Windows and Linux.
55
* Support advance RNN loop in ONNX export.
6+
* Export larger than 2GB models in ONNX format.
67

78
## CNTK support for CUDA 10
89

Makefile

+18-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ ONNX_REPO_PATH:=$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnx_repo
9999
ONNX_REPO_PATH+=$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnx_repo/onnx
100100
ONNX_REPO_PATH+=$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime
101101
ONNX_REPO_PATH+=$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/include/onnxruntime
102+
ONNX_REPO_PATH+=$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/patch/onnxruntime/platform_specifics/linux
102103
INCLUDEPATH:= $(addprefix $(SOURCEDIR)/, Common/Include CNTKv2LibraryDll CNTKv2LibraryDll/API CNTKv2LibraryDll/API/Internals CNTKv2LibraryDll/Generated/Linux CNTKv2LibraryDll/proto ../Examples/Extensibility/CPP Math CNTK ActionsLib ComputationNetworkLib SGDLib SequenceTrainingLib CNTK/BrainScript Readers/ReaderLib PerformanceProfilerDll)
103104
INCLUDEPATH+=$(PROTOBUF_PATH)/include
104105
INCLUDEPATH+=$(GSL_PATH)/include
@@ -535,7 +536,20 @@ CNTKLIBRARY_COMMON_SRC =\
535536
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/common/logging/logging.cc \
536537
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/common/profiler.cc \
537538
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/common/status.cc \
538-
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensorutils.cc \
539+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/common/str_helper.cc \
540+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/allocator.cc \
541+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/data_types.cc \
542+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/environment.cc \
543+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/error_code.cc \
544+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/onnxruntime_typeinfo.cc \
545+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensor.cc \
546+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensorprotoutils.cc \
547+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensor_external_data_info.cc \
548+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensor_shape.cc \
549+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/framework/tensor_type_and_shape.cc \
550+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/contrib_ops/attn_lstm_schema_defs.cc \
551+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/contrib_ops/contrib_defs.cc \
552+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/contrib_ops/range_schema_defs.cc \
539553
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/function.cc \
540554
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/graph.cc \
541555
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/graph/graph_viewer.cc \
@@ -548,6 +562,9 @@ CNTKLIBRARY_COMMON_SRC =\
548562
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/platform/posix/env_time.cc \
549563
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/platform/posix/stacktrace.cc \
550564
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnxruntime/onnxruntime/core/platform/posix/ort_mutex.cc \
565+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/patch/onnxruntime/core/common/logging/ostream_sink.cc \
566+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/patch/onnxruntime/core/session/onnxruntime_c_api.cc \
567+
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/patch/onnxruntime/core/framework/path_lib.cc \
551568
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnx_repo/onnx/checker.cpp \
552569
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnx_repo/onnx/common/assertions.cc \
553570
$(SOURCEDIR)/CNTKv2LibraryDll/proto/onnx/onnx_repo/onnx/common/model_helpers.cc \

Source/CNTKv2LibraryDll/API/CNTKLibrary.h

+15-1
Original file line numberDiff line numberDiff line change
@@ -3559,6 +3559,19 @@ namespace CNTK
35593559
return foundFunction;
35603560
}
35613561

3562+
//FunctionPtr FindByUid(const std::wstring& uid, bool nestedSearchInsideBlockFunction = false)
3563+
//{
3564+
// FunctionPtr foundFunction = nullptr;
3565+
// PreorderTraverseFunctions(RootFunction(), [&foundFunction, &uid, this](const FunctionPtr& function) {
3566+
// if (uid.compare(function->Uid()) == 0)
3567+
// {
3568+
// foundFunction = function;
3569+
// }
3570+
// }, nestedSearchInsideBlockFunction);
3571+
3572+
// return foundFunction;
3573+
//}
3574+
35623575
///
35633576
/// Find a list of functions with the given name in the Function graph underlying 'this' Function.
35643577
/// If nestedSearchInsideBlockFunction is true, all functions inside block functions are also searched for the given name.
@@ -3595,7 +3608,8 @@ namespace CNTK
35953608
///
35963609
/// Save this Function graph into a model file.
35973610
///
3598-
CNTK_API void Save(const std::wstring& filepath, ModelFormat format = ModelFormat::CNTKv2);
3611+
CNTK_API void Save(const std::wstring& filepath, ModelFormat format = ModelFormat::CNTKv2,
3612+
bool useExternalFilesToStoreParameters = false);
35993613

36003614
///
36013615
/// Restore the models parameters (in-place) from a model file

Source/CNTKv2LibraryDll/CNTKv2LibraryDll.vcxproj

+21-6
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</ItemDefinitionGroup>
6767
<ItemDefinitionGroup>
6868
<ClCompile>
69-
<AdditionalIncludeDirectories>.\proto\onnx;.\proto\onnx\onnxruntime\onnxruntime;.\proto\onnx\onnxruntime\include\onnxruntime;.\proto\onnx\onnx_repo;.\proto\onnx\onnx_repo\onnx;.\API;.\API\Internals;.\proto;$(BOOST_INCLUDE_PATH);$(SolutionDir)\Source\CNTKv2LibraryDll;$(SolutionDir)Source\SGDLib;$(SolutionDir)Source\Readers\ReaderLib;$(SolutionDir)Source\ComputationNetworkLib;$(SolutionDir)Source\SequenceTrainingLib;$(SolutionDir)Source\Math;$(SolutionDir)Source\Common\Include;$(SolutionDir)Source\CNTK\BrainScript;$(SolutionDir)Source\ActionsLib;$(MSMPI_INC);$(NvmlInclude);$(ProtobufInclude);$(SolutionDir)Source\PerformanceProfilerDll;..\..\external\gsl\include;$(ProjectDir)Generated\Windows</AdditionalIncludeDirectories>
69+
<AdditionalIncludeDirectories>.\proto\onnx;.\proto\onnx\onnxruntime\onnxruntime;.\proto\onnx\patch\onnxruntime\platform_specifics\windows;.\proto\onnx\onnxruntime\include\onnxruntime;.\proto\onnx\onnx_repo;.\proto\onnx\onnx_repo\onnx;.\API;.\API\Internals;.\proto;$(BOOST_INCLUDE_PATH);$(SolutionDir)\Source\CNTKv2LibraryDll;$(SolutionDir)Source\SGDLib;$(SolutionDir)Source\Readers\ReaderLib;$(SolutionDir)Source\ComputationNetworkLib;$(SolutionDir)Source\SequenceTrainingLib;$(SolutionDir)Source\Math;$(SolutionDir)Source\Common\Include;$(SolutionDir)Source\CNTK\BrainScript;$(SolutionDir)Source\ActionsLib;$(MSMPI_INC);$(NvmlInclude);$(ProtobufInclude);$(SolutionDir)Source\PerformanceProfilerDll;..\..\external\gsl\include;$(ProjectDir)Generated\Windows</AdditionalIncludeDirectories>
7070
<AdditionalIncludeDirectories Condition="'!$(IsUWP)'">$(SolutionDir)Source\1BitSGD;$(ProjectDir)Generated\Windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
7171
<PreprocessorDefinitions Condition="'!$(IsUWP)'">CNTK_PARALLEL_TRAINING_SUPPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
7272
<OpenMPSupport>true</OpenMPSupport>
@@ -84,7 +84,7 @@
8484
<PrecompiledHeader>NotUsing</PrecompiledHeader>
8585
<WarningLevel>Level4</WarningLevel>
8686
<Optimization>Disabled</Optimization>
87-
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CNTKV2LIBRARYDLL;WIN32;_DEBUG;_WINDOWS;_USRDLL;PLATFORM_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
87+
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CNTKV2LIBRARYDLL;WIN32;_DEBUG;_WINDOWS;_USRDLL;PLATFORM_WINDOWS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
8888
<SDLCheck>true</SDLCheck>
8989
<TreatWarningAsError>true</TreatWarningAsError>
9090
<DisableSpecificWarnings>4800;4610;4512;4510;4267;4127;4125;4100;4456;4189;4996;4503;4146</DisableSpecificWarnings>
@@ -101,7 +101,7 @@
101101
<ClCompile>
102102
<WarningLevel>Level4</WarningLevel>
103103
<PrecompiledHeader>NotUsing</PrecompiledHeader>
104-
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CNTKV2LIBRARYDLL;WIN32;NDEBUG;_WINDOWS;_USRDLL;PLATFORM_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104+
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CNTKV2LIBRARYDLL;WIN32;NDEBUG;_WINDOWS;_USRDLL;PLATFORM_WINDOWS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105105
<SDLCheck>true</SDLCheck>
106106
<AdditionalOptions>/d2Zi+ /bigobj %(AdditionalOptions)</AdditionalOptions>
107107
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -118,7 +118,7 @@
118118
</ItemDefinitionGroup>
119119
<ItemDefinitionGroup Condition="$(CpuOnlyBuild)">
120120
<ClCompile>
121-
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CPUONLY;PLATFORM_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
<PreprocessorDefinitions>ONNX_NAMESPACE=onnx;ONNX_ML=1;ONNX_V1_OPSCHEMA_COMPAT;CPUONLY;PLATFORM_WINDOWS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
122122
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release_CpuOnly|x64'">$(IntDir)\$(ProjectName)\$(ConfigurationName)\%(RelativeDir)</ObjectFileName>
123123
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug_CpuOnly|x64'">$(IntDir)\$(ProjectName)\$(ConfigurationName)\%(RelativeDir)</ObjectFileName>
124124
</ClCompile>
@@ -183,7 +183,6 @@
183183
<ClInclude Include="proto\onnx\onnx-operators-ml.pb.h" />
184184
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\common\profiler.h" />
185185
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\common\task_thread_pool.h" />
186-
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorutils.h" />
187186
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\graph\function.h" />
188187
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\graph\function_container.h" />
189188
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\graph\function_impl.h" />
@@ -275,7 +274,20 @@
275274
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\common\logging\logging.cc" />
276275
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\common\profiler.cc" />
277276
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\common\status.cc" />
278-
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorutils.cc" />
277+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\common\str_helper.cc" />
278+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\allocator.cc" />
279+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\data_types.cc" />
280+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\environment.cc" />
281+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\error_code.cc" />
282+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\onnxruntime_typeinfo.cc" />
283+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor.cc" />
284+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorprotoutils.cc" />
285+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_external_data_info.cc" />
286+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_shape.cc" />
287+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_type_and_shape.cc" />
288+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\attn_lstm_schema_defs.cc" />
289+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\contrib_defs.cc" />
290+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\range_schema_defs.cc" />
279291
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\function.cc" />
280292
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\graph.cc" />
281293
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\graph_viewer.cc" />
@@ -284,6 +296,8 @@
284296
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\schema_registry.cc" />
285297
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\platform\env.cc" />
286298
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\platform\env_time.cc" />
299+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\common\logging\ostream_sink.cc" />
300+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\framework\path_lib.cc" />
287301
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env.cc" />
288302
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env_time.cc" />
289303
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\stacktrace.cc" />
@@ -319,6 +333,7 @@
319333
<ClCompile Include="proto\onnx\onnx_repo\onnx\defs\traditionalml\old.cc" />
320334
<ClCompile Include="proto\onnx\onnx_repo\onnx\shape_inference\implementation.cc" />
321335
<ClCompile Include="proto\onnx\Operators.cpp" />
336+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\session\onnxruntime_c_api.cc" />
322337
<ClCompile Include="proto\onnx\RNNHelper.cpp" />
323338
<ClCompile Include="Serialization.cpp" />
324339
<ClCompile Include="stdafx.cpp">

Source/CNTKv2LibraryDll/CNTKv2LibraryDll.vcxproj.filters

+66-11
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@
130130
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\graph.cc">
131131
<Filter>proto\onnx\onnxruntime\graph</Filter>
132132
</ClCompile>
133-
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\graph_transformer_mgr.cc">
134-
<Filter>proto\onnx\onnxruntime\graph</Filter>
135-
</ClCompile>
136133
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\graph_viewer.cc">
137134
<Filter>proto\onnx\onnxruntime\graph</Filter>
138135
</ClCompile>
@@ -145,9 +142,6 @@
145142
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\schema_registry.cc">
146143
<Filter>proto\onnx\onnxruntime\graph</Filter>
147144
</ClCompile>
148-
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorutils.cc">
149-
<Filter>proto\onnx\onnxruntime\framework</Filter>
150-
</ClCompile>
151145
<ClCompile Include="proto\onnx\CNTKToONNX.cpp">
152146
<Filter>proto\onnx</Filter>
153147
</ClCompile>
@@ -178,15 +172,70 @@
178172
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\platform\env_time.cc">
179173
<Filter>proto\onnx\onnxruntime\platform</Filter>
180174
</ClCompile>
181-
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env.cc" />
182-
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env_time.cc" />
183175
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\stacktrace.cc" />
184176
<ClCompile Include="proto\onnx\onnx_repo\onnx\defs\controlflow\old.cc">
185177
<Filter>proto\onnx\onnx_repo\onnx\defs\controlflow</Filter>
186178
</ClCompile>
187179
<ClCompile Include="proto\onnx\onnx_repo\onnx\defs\traditionalml\old.cc">
188180
<Filter>proto\onnx\onnx_repo\onnx\defs\traditionalml</Filter>
189181
</ClCompile>
182+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorprotoutils.cc">
183+
<Filter>proto\onnx\onnxruntime\framework</Filter>
184+
</ClCompile>
185+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\common\str_helper.cc">
186+
<Filter>proto\onnx\onnxruntime\common</Filter>
187+
</ClCompile>
188+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\error_code.cc">
189+
<Filter>proto\onnx\onnxruntime\framework</Filter>
190+
</ClCompile>
191+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_shape.cc">
192+
<Filter>proto\onnx\onnxruntime\framework</Filter>
193+
</ClCompile>
194+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor.cc">
195+
<Filter>proto\onnx\onnxruntime\framework</Filter>
196+
</ClCompile>
197+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\data_types.cc">
198+
<Filter>proto\onnx\onnxruntime\framework</Filter>
199+
</ClCompile>
200+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\allocator.cc">
201+
<Filter>proto\onnx\onnxruntime\framework</Filter>
202+
</ClCompile>
203+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_type_and_shape.cc">
204+
<Filter>proto\onnx\onnxruntime\framework</Filter>
205+
</ClCompile>
206+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\onnxruntime_typeinfo.cc">
207+
<Filter>proto\onnx\onnxruntime\framework</Filter>
208+
</ClCompile>
209+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env_time.cc">
210+
<Filter>proto\onnx\patch</Filter>
211+
</ClCompile>
212+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\platform\windows\env.cc">
213+
<Filter>proto\onnx\patch</Filter>
214+
</ClCompile>
215+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\common\logging\ostream_sink.cc">
216+
<Filter>proto\onnx\patch</Filter>
217+
</ClCompile>
218+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\environment.cc">
219+
<Filter>proto\onnx\onnxruntime\framework</Filter>
220+
</ClCompile>
221+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\contrib_defs.cc">
222+
<Filter>proto\onnx\onnxruntime\graph\contrib_ops</Filter>
223+
</ClCompile>
224+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\attn_lstm_schema_defs.cc">
225+
<Filter>proto\onnx\onnxruntime\graph\contrib_ops</Filter>
226+
</ClCompile>
227+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\graph\contrib_ops\range_schema_defs.cc">
228+
<Filter>proto\onnx\onnxruntime\graph\contrib_ops</Filter>
229+
</ClCompile>
230+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\session\onnxruntime_c_api.cc">
231+
<Filter>proto\onnx\patch</Filter>
232+
</ClCompile>
233+
<ClCompile Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensor_external_data_info.cc">
234+
<Filter>proto\onnx\onnxruntime\framework</Filter>
235+
</ClCompile>
236+
<ClCompile Include="proto\onnx\patch\onnxruntime\core\framework\path_lib.cc">
237+
<Filter>proto\onnx\patch</Filter>
238+
</ClCompile>
190239
</ItemGroup>
191240
<ItemGroup>
192241
<ClInclude Include="stdafx.h" />
@@ -379,9 +428,6 @@
379428
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\common\profiler.h">
380429
<Filter>proto\onnx\onnxruntime\common</Filter>
381430
</ClInclude>
382-
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\framework\tensorutils.h">
383-
<Filter>proto\onnx\onnxruntime\framework</Filter>
384-
</ClInclude>
385431
<ClInclude Include="proto\onnx\onnxruntime\onnxruntime\core\inc\op_kernel_author_helper.h">
386432
<Filter>proto\onnx\onnxruntime\inc</Filter>
387433
</ClInclude>
@@ -516,6 +562,15 @@
516562
<Filter Include="proto\onnx\onnxruntime\platform\windows">
517563
<UniqueIdentifier>{681310a9-13d1-4e99-87ea-4b342d35901e}</UniqueIdentifier>
518564
</Filter>
565+
<Filter Include="proto\onnx\onnxruntime\session">
566+
<UniqueIdentifier>{d0a338b2-3b7a-49ef-a6ca-35c54ed27721}</UniqueIdentifier>
567+
</Filter>
568+
<Filter Include="proto\onnx\patch">
569+
<UniqueIdentifier>{8e0079c2-b575-45af-8694-4f4bf25b4ab4}</UniqueIdentifier>
570+
</Filter>
571+
<Filter Include="proto\onnx\onnxruntime\graph\contrib_ops">
572+
<UniqueIdentifier>{542e5292-b201-4f16-a397-6bf97b5e6c71}</UniqueIdentifier>
573+
</Filter>
519574
</ItemGroup>
520575
<ItemGroup>
521576
<Proto Include="tensorboard\tensorboard.proto">

0 commit comments

Comments
 (0)