-
Notifications
You must be signed in to change notification settings - Fork 35
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
Enable custom triton-rapids repo and tag #409
Changes from 3 commits
c061227
08b45f3
06d9fb7
b412fa5
7f4fb9a
4c099c1
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 |
---|---|---|
|
@@ -123,16 +123,18 @@ ENV BUILD_TESTS=$BUILD_TESTS | |
ARG BUILD_EXAMPLE | ||
ENV BUILD_EXAMPLE=$BUILD_EXAMPLE | ||
|
||
ARG TRITON_REPO_ORGANIZATION=https://github.com/triton-inference-server | ||
ARG TRITON_REPO_ORGANIZATION=$TRITON_REPO_ORGANIZATION | ||
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. This line is not valid, since 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. Currently, 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'm following the format specified here: https://github.com/triton-inference-server/fil_backend/pull/409/files#diff-d2e93d579aa110eb1f1fb1526ea0d7ca3fe7cbb3ed700ad8826aae45341a43beL128. I could change it back to the default case if you like? 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. That line is different, since 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. The referenced line constructs a new string from a defined variable by adding an 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. sorry for my mistake. Changed |
||
ENV TRITON_REPO_ORGANIZATION=$TRITON_REPO_ORGANIZATION | ||
ARG TRITON_CORE_REPO_TAG=r${TRITON_VERSION} | ||
ENV TRITON_CORE_REPO_TAG=$TRITON_CORE_REPO_TAG | ||
ARG TRITON_COMMON_REPO_TAG=r${TRITON_VERSION} | ||
ENV TRITON_COMMON_REPO_TAG=$TRITON_COMMON_REPO_TAG | ||
ARG TRITON_BACKEND_REPO_TAG=r${TRITON_VERSION} | ||
ENV TRITON_BACKEND_REPO_TAG=$TRITON_BACKEND_REPO_TAG | ||
ARG RAPIDS_TRITON_REPO_TAG=main | ||
ENV RAPIDS_TRITON_REPO_TAG=${RAPIDS_TRITON_REPO_TAG} | ||
ARG RAPIDS_TRITON_REPO_TAG=$RAPIDS_TRITON_REPO_TAG | ||
ENV RAPIDS_TRITON_REPO_TAG=$RAPIDS_TRITON_REPO_TAG | ||
ARG TRITON_RAPIDS_REPO_PATH=$TRITON_RAPIDS_REPO_PATH | ||
ENV TRITON_RAPIDS_REPO_PATH=$TRITON_RAPIDS_REPO_PATH | ||
|
||
ARG TRITON_ENABLE_GPU=ON | ||
ENV TRITON_ENABLE_GPU=$TRITON_ENABLE_GPU | ||
|
@@ -162,6 +164,7 @@ RUN source /conda/dev/bin/activate \ | |
-DTRITON_COMMON_REPO_TAG="${TRITON_COMMON_REPO_TAG}" \ | ||
-DTRITON_BACKEND_REPO_TAG="${TRITON_BACKEND_REPO_TAG}" \ | ||
-DRAPIDS_TRITON_REPO_TAG="${RAPIDS_TRITON_REPO_TAG}" \ | ||
-DRAPIDS_TRITON_REPO_PATH="${RAPIDS_TRITON_REPO_PATH}" \ | ||
-DTRITON_ENABLE_GPU="${TRITON_ENABLE_GPU}" \ | ||
-DTRITON_ENABLE_STATS="${TRITON_ENABLE_STATS}" \ | ||
-DRAPIDS_DEPENDENCIES_VERSION="${RAPIDS_DEPENDENCIES_VERSION}" \ | ||
|
@@ -171,7 +174,7 @@ RUN source /conda/dev/bin/activate \ | |
|
||
ENV CCACHE_DIR=/ccache | ||
|
||
RUN --mount=type=cache,target=/ccache/ source /conda/dev/bin/activate && ninja -j16 install | ||
RUN --mount=type=cache,target=/ccache/ source /conda/dev/bin/activate && ninja install | ||
|
||
|
||
# Stage for generating testing image | ||
|
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.
Why are we hardcoding this here now?
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.
I changed it back from before #404. I was not sure where build.sh is used in the pipeline so I let it be hardcoded, like before