Skip to content

Add the new build#1

Merged
deadeyegoodwin merged 5 commits into
mainfrom
imant-build
Sep 11, 2020
Merged

Add the new build#1
deadeyegoodwin merged 5 commits into
mainfrom
imant-build

Conversation

@Tabrizian

Copy link
Copy Markdown
Member

The new python backend build now uses FetchContent_Declare for the installation of gRPC and other dependencies. Also, the build is now completely separated from the main repo tree.

@Tabrizian Tabrizian requested review from CoderHam and deadeyegoodwin and removed request for CoderHam and deadeyegoodwin September 10, 2020 20:29
@Tabrizian

Copy link
Copy Markdown
Member Author

Sorry, I was trying to add two reviewers but it seems like I can add only one reviewer.

@deadeyegoodwin deadeyegoodwin requested review from CoderHam and deadeyegoodwin and removed request for CoderHam and deadeyegoodwin September 11, 2020 00:35

@deadeyegoodwin deadeyegoodwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put resources and protos in the src directory

Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt
@@ -24,24 +24,82 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general follow onnxruntime_backend as much as possible.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deadeyegoodwin Do you think I should add TRITON_PYTHONBACKEND_INCLUDE_PATHS TRITON_PYTHONBACKEND_LIB_PATHS to this backend too?

Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
@deadeyegoodwin deadeyegoodwin merged commit 96f19f8 into main Sep 11, 2020
@deadeyegoodwin deadeyegoodwin deleted the imant-build branch September 11, 2020 16:53
baojunliu pushed a commit to baojunliu/python_backend that referenced this pull request Apr 22, 2022
* Initial implementation of backend

* Update ReadMe

* Correct library name to libtriton_pytorch.so

* Add c10 and mkl to pytorch build

* Fix ConvertDataTypeToTorchType function definition

* Fix ModelConfigDataTypeToTorchType

* Remove torch libs and deps from link interface

* Add no-as-needed to include all torch libraries

* shared -> unique ptr use reset instead of assigning new shared ptr

* Fix segfault due to double SendErrorForResponses calls

* Fix input buffer and tensor creation

* review edits

* Fix autofill to log error

* cleanup

* Use new BackendMemory API

* review edits

* Ensure post execution memory cleanup

* Add torchvision op includes

* Fix error response for invalid I/O name format

* Fix naming convention of model config datatypes

* Fix build to explicitly link in mkl deps to ensure symbol resolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants