-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Disable developer tools build for In-process API + JavaCPP tests #6296
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
Changes from 5 commits
fa68664
74be231
8b285f3
16add5c
8927655
aa7d008
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -476,6 +476,13 @@ JavaCPP-presets. You can do this using the following steps: | |
|
||
1. Create the JNI binaries in your local repository (`/root/.m2/repository`) | ||
with [`javacpp-presets/tritonserver`](https://github.com/bytedeco/javacpp-presets/tree/master/tritonserver) | ||
For C-API Wrapper Java bindings, you need to install some build specific dependencies like cmake. You can either do this with: | ||
```bash | ||
$ git clone https://github.com/triton-inference-server/developer_tools.git | ||
$ bash -x developer_tools/server/install_dependencies_and_build.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think the script lives at this path in the dev tools repo, does it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh nvm, I see you moved it in the other PR There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Not sure I understand, isn't the C API Java bindings script this one: https://github.com/triton-inference-server/client/blob/main/src/java-api-bindings/scripts/install_dependencies_and_build.sh, not the script in the dev tools repo? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are 2 java bindings, one with CAPI and one with the C++ bindings. The client repo contains the entire build script for C and C++ java . The developer tools repo contains build instructions for C++ bindings. The one in developer tools does not include anything related to java. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But to make it clear I'll just point people to the client script which contains build steps for both versions of the java bindings |
||
``` | ||
Please refer to [server installation script](https://github.com/triton-inference-server/client/blob/main/src/java-api-bindings/scripts/install_dependencies_and_build.sh) for dependencies you need to install and modifications you need to make for your container. | ||
After installing dependencies, you can build the tritonserver project on javacpp-presets: | ||
```bash | ||
$ git clone https://github.com/bytedeco/javacpp-presets.git | ||
$ cd javacpp-presets | ||
|
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.