LHCb merge requestshttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests2018-04-12T17:17:02+02:00https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/1197WIP Adapted transport service to move to new counters, aka gaudi/Gaudi!6292018-04-12T17:17:02+02:00Sebastien PonceWIP Adapted transport service to move to new counters, aka gaudi/Gaudi!629(cherry picked from commit 456f6886ac6eed1fac3643d1d91aecc14f0a7efc)(cherry picked from commit 456f6886ac6eed1fac3643d1d91aecc14f0a7efc)https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/1568WIP prefer std::string_view over boost::string_ref2018-10-23T11:10:14+02:00Gerhard RavenWIP prefer std::string_view over boost::string_refhttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/1750Support for latest CMake (@clemenci)2019-02-25T09:00:05+01:00Marco CattaneoSupport for latest CMake (@clemenci)Cherry-picked from lhcb/LHCb!1338 on `2016-patches`, including also lhcb/LHCb!1355 and lhcb/LHCb!1726Cherry-picked from lhcb/LHCb!1338 on `2016-patches`, including also lhcb/LHCb!1355 and lhcb/LHCb!1726https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/1848WIP: Removal of HepMC22019-05-19T19:27:34+02:00Dominik MullerWIP: Removal of HepMC2Removes all HepMC2 dependent parts from LHCb. As we are not supporting HepMC(3) output in the upgrade, these parts are not required anymore in LHCb.
As HepMC2 and HepMC3 are incompatible and cannot be used in a project simultaneously th...Removes all HepMC2 dependent parts from LHCb. As we are not supporting HepMC(3) output in the upgrade, these parts are not required anymore in LHCb.
As HepMC2 and HepMC3 are incompatible and cannot be used in a project simultaneously they have to be removed to proceed with the porting of Gauss.
After a review to determine which parts are still required, they will need to be ported to HepMC3 and can then placed directly into future Gauss.
Most prominently, this will include the LoKi functors for HepMC used for generator level cuts.
Marked this as WIP for now as it probably breaks other projects. @cattanem Is there a slot we can test this in?https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/1916WIP Backport GaudiObjDesc from master to run2-patches2019-05-13T09:14:48+02:00Marco Clemencicmarco.clemencic@cern.chWIP Backport GaudiObjDesc from master to run2-patchesNote: includes !1878
This is superseded by !1929 - to be closed if !1929 successfulNote: includes !1878
This is superseded by !1929 - to be closed if !1929 successfulhttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/2021WIP Rich : Use MsgCounter instances for warnings and errors2019-12-04T15:55:36+01:00Marco CattaneoWIP Rich : Use MsgCounter instances for warnings and errorsCherry-picked from lhcb/LHCb!2018
@bcouturi FYI, needed to fix compilation in `lhcb-dd4hep build`Cherry-picked from lhcb/LHCb!2018
@bcouturi FYI, needed to fix compilation in `lhcb-dd4hep build`https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/2759WIP: Make PackTrack functional2021-06-01T09:41:35+02:00Nicole SkidmoreWIP: Make PackTrack functionalMaking PackTrack functional so that tracks can be packed and persisted in Moore.
Note that
* Removed checking functionality `EnableCheck`
* Removed delete input functionality `DeleteInput`
* Removed `AlwaysCreateOutput` optionMaking PackTrack functional so that tracks can be packed and persisted in Moore.
Note that
* Removed checking functionality `EnableCheck`
* Removed delete input functionality `DeleteInput`
* Removed `AlwaysCreateOutput` optionhttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/3160WIP: Modernize HltPackedData{Writer,Decoder}2021-07-31T17:12:24+02:00Gerhard RavenWIP: Modernize HltPackedData{Writer,Decoder}- make HltPackedDataDecoder thread safe
- move code and data common to Writer and Decoder into HltPackedData.h
- amalgamate decoder and writer headers into their .cpp files
- introduce LHCb::Hlt::PackedData namespace
- prefer std::string...- make HltPackedDataDecoder thread safe
- move code and data common to Writer and Decoder into HltPackedData.h
- amalgamate decoder and writer headers into their .cpp files
- introduce LHCb::Hlt::PackedData namespace
- prefer std::string_view over const std::string&Gerhard RavenGerhard Ravenhttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/3188Modernize MuonDet2021-12-08T16:52:34+01:00Gerhard RavenModernize MuonDet* prefer pragma once
* remove redundant inline specifiers
* avoid redundant copying of data
* remove rendundant parathesis
* add const
* remove redundant this->
* prefer std::abs over fabs
* prefer range based loops
* limit scope of vari...* prefer pragma once
* remove redundant inline specifiers
* avoid redundant copying of data
* remove rendundant parathesis
* add const
* remove redundant this->
* prefer std::abs over fabs
* prefer range based loops
* limit scope of variable declarations
* prefer direct member initialization
* prefer anonymous namespaces over static
* prefer fmt::format over ostrstream
* remove redundant data memberRosen MatevRosen Matevhttps://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/3235Draft: Add missing include optional to please gcc112021-09-07T08:32:04+02:00Marco CattaneoDraft: Add missing include optional to please gcc11https://gitlab.cern.ch/lhcb/LHCb/-/merge_requests/4069Draft: add Service for ONNXRuntime2024-02-06T09:37:11+01:00Maarten Van VeghelDraft: add Service for ONNXRuntimeAdds service that manages sessions of ONNXRuntime. In addition, a light wrapper around these `Ort::Session`s is added, `StandardSessions`, that manages it for the most standard use cases in LHCb.
To do list
- [x] add setting of max thr...Adds service that manages sessions of ONNXRuntime. In addition, a light wrapper around these `Ort::Session`s is added, `StandardSessions`, that manages it for the most standard use cases in LHCb.
To do list
- [x] add setting of max threads (done using config in `ApplicationOptions`)
- [x] add wrapper around standard option of vector of float (in one tensor) to vector of floats output
Accompanies (also more details in) https://gitlab.cern.ch/lhcb/Rec/-/merge_requests/3380. Related to https://gitlab.cern.ch/lhcb/Rec/-/issues/460.
Possible future improvements if needed
- [ ] use `AddInitializer` to make session per thread making more efficient if needed to reduce memory consumption (see [here](https://onnxruntime.ai/docs/api/c/struct_ort_api.html#a21a723218a1f795a0deabb6f8a2c541a))
# ONNXRuntime package (install)
For cmake part to work still need to do locally:
```bash
export LD_LIBRARY_PATH=/cvmfs/sft.cern.ch/lcg/releases/onnxruntime/1.13.1-9722b/x86_64-centos7-gcc11-opt/lib:$LD_LIBRARY_PATH
```
Or add the following line to `Findonnxruntime.cmake` file somewhere before the `add_library` command:
```cmake
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
```
To fix that `onnxruntime` needs to be added to (@clemenci):
- [ ] https://gitlab.cern.ch/lhcb-core/lcg-toolchains/-/blob/master/LCG_103/lcginfo.json
- [ ] Installed in LHCb related CVMFS