-
Notifications
You must be signed in to change notification settings - Fork 184
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
Update Triton to v2.11 #7142
Update Triton to v2.11 #7142
Conversation
A new Pull Request was created by @kpedro88 (Kevin Pedro) for branch IB/CMSSW_12_0_X/master. @cmsbuild, @smuzaffar, @mrodozov, @iarspider can you please review it and eventually sign? Thanks. |
please test |
triton-inference-client.spec
Outdated
fi | ||
|
||
# extracted from https://github.com/triton-inference-server/server/blob/v2.11.0/src/core/model_config.h | ||
cat << 'EOF' > ${PROJ_DIR}/library/model_config.h |
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.
@kpedro88 , instead of generating these files here, can you please add these generated files as cmsdist/triton-inference-client/model_config.[h,cc].file
and then add following sources
Source1: triton-inference-client/model_config.h
Source2: triton-inference-client/model_config.cc
and then use
cp %{_sourcedir}/model_config.h ${PROJ_DIR}/library/
cp %{_sourcedir}/model_config.cc ${PROJ_DIR}/library/
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c3860b/16869/summary.html External BuildI found compilation warning when building: See details on the summary page. |
@smuzaffar what is the right way to deal with the renaming of the tool? The error reported was:
which is intentional... |
@kpedro88 , you need to cleanup cmssw-tool-conf.spec and replace |
Pull request #7142 was updated. |
please test |
-1 Failed Tests: Build BuildI found compilation error when building: TritonData.cc:(.text+0x138): undefined reference to `nvidia::inferenceserver::client::InferInput::Reset()' /cvmfs/cms-ib.cern.ch/nweek-02689/slc7_amd64_gcc900/external/gcc/9.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc900/src/HeterogeneousCore/SonicTriton/src/HeterogeneousCoreSonicTriton/TritonData.cc.o: in function `void TritonData::toServer(std::shared_ptr >, std::allocator > > > >)': TritonData.cc:(.text._ZN10TritonDataIN6nvidia15inferenceserver6client10InferInputEE8toServerIfEEvSt10shared_ptrISt6vectorIS7_IT_SaIS8_EESaISA_EEE[_ZN10TritonDataIN6nvidia15inferenceserver6client10InferInputEE8toServerIfEEvSt10shared_ptrISt6vectorIS7_IT_SaIS8_EESaISA_EEE]+0x50): undefined reference to `nvidia::inferenceserver::client::InferInput::SetShape(std::vector > const&)' /cvmfs/cms-ib.cern.ch/nweek-02689/slc7_amd64_gcc900/external/gcc/9.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc900/src/HeterogeneousCore/SonicTriton/src/HeterogeneousCoreSonicTriton/TritonData.cc.o: in function `void TritonData::toServer(std::shared_ptr >, std::allocator > > > >)': TritonData.cc:(.text._ZN10TritonDataIN6nvidia15inferenceserver6client10InferInputEE8toServerIlEEvSt10shared_ptrISt6vectorIS7_IT_SaIS8_EESaISA_EEE[_ZN10TritonDataIN6nvidia15inferenceserver6client10InferInputEE8toServerIlEEvSt10shared_ptrISt6vectorIS7_IT_SaIS8_EESaISA_EEE]+0x50): undefined reference to `nvidia::inferenceserver::client::InferInput::SetShape(std::vector > const&)' collect2: error: ld returned 1 exit status gmake: *** [tmp/slc7_amd64_gcc900/src/HeterogeneousCore/SonicTriton/src/HeterogeneousCoreSonicTriton/libHeterogeneousCoreSonicTriton.so] Error 1 Leaving library rule at HeterogeneousCore/SonicTriton ------- copying files from src/HeterogeneousCore/SonicTriton/scripts ------- >> copied cmsTriton Entering library rule at src/HeterogeneousCore/SonicTriton/test |
@smuzaffar this PR is included in the tests for cms-sw/cmssw#34508, which are running now. Does it need to be tested here also? |
@kpedro88 , no need to test it here. |
@smuzaffar cms-sw/cmssw#34508 tests passed |
test parameters: |
please test for slc7_amd64_gcc10 |
please test for cc8_amd64_gcc9 |
please test for slc7_aarch64_gcc9 |
please test for CMSSW_12_0_X/slc7_ppc64le_gcc9 |
+externals |
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_12_0_X/master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy, @perrotta (and backports should be raised in the release meeting by the corresponding L2) |
-1 Failed Tests: UnitTests 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: Unit TestsI found errors in the following unit tests: ---> test test_PrepareInputDb had ERRORS ---> test test_MpsWorkFlow had ERRORS ---> test TestDQMServicesDemo had ERRORS ---> test TestHeterogeneousCoreSonicTritonProducerGPU had ERRORS and more ... |
-1 Failed Tests: UnitTests 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: Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS ---> test testFWCoreUtilities had ERRORS ---> test TestFWCoreServicesDriver had ERRORS ---> test testUploadConditions had ERRORS and more ... |
-1 Failed Tests: UnitTests 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: Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
-1 Failed Tests: UnitTests 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: Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
This PR updates Triton to its latest release. The Triton repository has been refactored into separate components, so the external is renamed to
triton-inference-client
.In the process of refactoring, access to some helper functions was lost, so these are installed by hand in the spec file. This should be fixed in an upcoming version of Triton. (Hopefully the various CMake issues currently solved in the spec file will also be addressed.)
The Triton updates require a newer version of CMake, so that is done here as well.
This PR requires an associated CMSSW PR (to be submitted simultaneously) to compile: cms-sw/cmssw#34508