-
Notifications
You must be signed in to change notification settings - Fork 184
Add the new build #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Sorry, I was trying to add two reviewers but it seems like I can add only one reviewer. |
deadeyegoodwin
left a comment
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
* 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
The new python backend build now uses
FetchContent_Declarefor the installation of gRPC and other dependencies. Also, the build is now completely separated from the main repo tree.