Skip to content

Conversation

@Tabrizian
Copy link
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
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
Copy link
Contributor

@deadeyegoodwin deadeyegoodwin left a comment

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

# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Copy link
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
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?

@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.

3 participants