-
Notifications
You must be signed in to change notification settings - Fork 183
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 triton-client python interface #8943
Conversation
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_14_0_X/master. @smuzaffar, @iarspider, @aandvalenzuela, @cmsbuild can you please review it and eventually sign? Thanks. |
cms-bot internal usage |
please test |
please test for el8_aarch64_gcc12 |
please test for el8_ppc64le_gcc12 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-edb4ab/36845/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
@@ -44,25 +47,46 @@ cmake ${PROJ_DIR} \ | |||
-DCMAKE_CXX_STANDARD=%{cms_cxx_standard} \ | |||
-DTRITON_ENABLE_CC_HTTP=OFF \ | |||
-DTRITON_ENABLE_CC_GRPC=ON \ | |||
-DTRITON_ENABLE_PYTHON_HTTP=OFF \ |
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.
If this part is only for building the C++ client (since there's a separate buildpy
below), shouldn't these lines be kept here? (the defaults for all of these are OFF, right now, but I think it's better to be explicit, in case the default changes...)
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.
These TRITON_ENABLE_PYTHON_*
flags are not available for triton/src/c++/CMakeLists.txt
( which we use to build the c++ interface) and cmake
generate warning message that these are unused flags.
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.
Ah, that is because they are in the top-level CMakeLists.txt, but we're using the project-specific ones for more control. Okay, never mind then.
-DCMAKE_INSTALL_LIBDIR=lib \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_STANDARD=%{cms_cxx_standard} \ | ||
-DTRITON_ENABLE_PYTHON_HTTP=OFF \ |
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.
Following the above comment, I would include the corresponding lines here:
-DTRITON_ENABLE_CC_HTTP=OFF \
-DTRITON_ENABLE_CC_GRPC=OFF \
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.
these flags are not available for triton/src/python/CMakeLists.txt
which we use to build the python interface
thanks @smuzaffar ! Indeed, I think it was the lack of a rapidJSON external that had kept me from enabling the python client. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-edb4ab/36849/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: |
-1 Failed Tests: RelVals The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: RelVals
|
@kpedro88 , should we try to update triton client ?
|
@smuzaffar we do not have any urgent need to update the triton client at the moment, so let's not complicate this PR. |
+externals |
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_14_0_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
This enables the triton client python interface. Code like [a] runs in cmssw env with this change.
[a]