-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User/orilevari/windowsai master merge (#2674)
merge resolutions included pulling in telemetry logic that was merged to master and not windowsai and dereferencing InferenceSession::sessionstate now that it is a unique pointer
- Loading branch information
Ori Levari
authored
Dec 17, 2019
1 parent
13c2eb3
commit fe26146
Showing
266 changed files
with
48,297 additions
and
3,171 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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.0 | ||
1.1.0 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
# This source code should not depend on the onnxruntime and may be built independently | ||
|
||
set(featurizers_URL "https://github.com/microsoft/FeaturizersLibrary.git") | ||
set(featurizers_TAG "006df6bff45dac59d378609fe85f6736a901ee93") | ||
|
||
set(featurizers_pref FeaturizersLibrary) | ||
set(featurizers_ROOT ${PROJECT_SOURCE_DIR}/external/${featurizers_pref}) | ||
set(featurizers_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/external/${featurizers_pref}) | ||
|
||
# Only due to GIT_CONFIG | ||
# Uncoment UPDATE_COMMAND if you work locally | ||
# on the featurizers so cmake does not undo your changes. | ||
if (WIN32) | ||
ExternalProject_Add(featurizers_lib | ||
PREFIX ${featurizers_pref} | ||
GIT_REPOSITORY ${featurizers_URL} | ||
GIT_TAG ${featurizers_TAG} | ||
# Need this to properly checkout crlf | ||
GIT_CONFIG core.autocrlf=input | ||
SOURCE_DIR ${featurizers_ROOT} | ||
# Location of CMakeLists.txt | ||
SOURCE_SUBDIR src/Featurizers | ||
BINARY_DIR ${featurizers_BINARY_DIR} | ||
# UPDATE_COMMAND "" | ||
INSTALL_COMMAND "" | ||
) | ||
else() | ||
ExternalProject_Add(featurizers_lib | ||
PREFIX ${featurizers_pref} | ||
GIT_REPOSITORY ${featurizers_URL} | ||
GIT_TAG ${featurizers_TAG} | ||
SOURCE_DIR ${featurizers_ROOT} | ||
# Location of CMakeLists.txt | ||
SOURCE_SUBDIR src/Featurizers | ||
BINARY_DIR ${featurizers_BINARY_DIR} | ||
CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON | ||
# UPDATE_COMMAND "" | ||
INSTALL_COMMAND "" | ||
) | ||
endif() | ||
|
||
add_library(automl_featurizers STATIC IMPORTED) | ||
add_dependencies(automl_featurizers featurizers_lib) | ||
target_include_directories(automl_featurizers INTERFACE ${featurizers_ROOT}/src) | ||
|
||
if(MSVC) | ||
set_property(TARGET automl_featurizers PROPERTY IMPORTED_LOCATION | ||
${CMAKE_CURRENT_BINARY_DIR}/external/${featurizers_pref}/${CMAKE_BUILD_TYPE}/FeaturizersCode.lib) | ||
else() | ||
set_property(TARGET automl_featurizers PROPERTY IMPORTED_LOCATION | ||
${CMAKE_CURRENT_BINARY_DIR}/external/${featurizers_pref}/libFeaturizersCode.a) | ||
endif() | ||
|
||
if (WIN32) | ||
# Add Code Analysis properties to enable C++ Core checks. Have to do it via a props file include. | ||
set_target_properties(automl_featurizers PROPERTIES VS_USER_PROPS ${PROJECT_SOURCE_DIR}/ConfigureVisualStudioCodeAnalysis.props) | ||
endif() | ||
|
||
# Build this in CentOS | ||
# foreach(_test_name IN ITEMS | ||
# CatImputerFeaturizer_UnitTests | ||
# DateTimeFeaturizer_UnitTests | ||
# HashOneHotVectorizerFeaturizer_UnitTests | ||
# ImputationMarkerFeaturizer_UnitTests | ||
# LabelEncoderFeaturizer_UnitTests | ||
# MaxAbsScalarFeaturizer_UnitTests | ||
# MinMaxScalarFeaturizer_UnitTests | ||
# MissingDummiesFeaturizer_UnitTests | ||
# OneHotEncoderFeaturizer_UnitTests | ||
# RobustScalarFeaturizer_UnitTests | ||
# SampleAddFeaturizer_UnitTest | ||
# StringFeaturizer_UnitTest | ||
# Structs_UnitTest | ||
# TimeSeriesImputerFeaturizer_UnitTest | ||
# ) | ||
# add_executable(${_test_name} ${featurizers_ROOT}/src/Featurizers/UnitTests/${_test_name}.cpp) | ||
# add_dependencies(${_test_name} automl_featurizers) | ||
# target_include_directories(${_test_name} PRIVATE ${featurizers_ROOT}/src) | ||
# target_link_libraries(${_test_name} automl_featurizers) | ||
# list(APPEND featurizers_TEST_SRC ${featurizers_ROOT}/src/Featurizers/UnitTests/${_test_name}.cpp) | ||
# endforeach() | ||
|
||
# source_group(TREE ${featurizers_ROOT}/src/Featurizers/UnitTests FILES ${featurizers_TEST_SRC}) |
Submodule onnx-tensorrt
updated
17 files
+1 −0 | .gitmodules | |
+2 −3 | CMakeLists.txt | |
+0 −91 | Dockerfile | |
+21 −1 | ImporterContext.hpp | |
+66 −80 | ModelImporter.cpp | |
+1 −0 | ModelImporter.hpp | |
+2 −2 | NvOnnxParser.h | |
+16 −3 | README.md | |
+3 −2 | ShapedWeights.cpp | |
+422 −624 | builtin_op_importers.cpp | |
+70 −0 | docker/onnx-tensorrt-deb.Dockerfile | |
+80 −0 | docker/onnx-tensorrt-tar.Dockerfile | |
+496 −66 | onnx2trt_utils.cpp | |
+58 −4 | onnx2trt_utils.hpp | |
+7 −1 | onnx_utils.hpp | |
+1 −1 | setup.py | |
+1 −1 | third_party/onnx |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.