12 const std::string& nn_name,
17 ATH_MSG_INFO(
"getting " << nn_name <<
" from cached NNs");
20 ATH_MSG_INFO(
"adapting " << nn_name <<
" from cached NNs, new opts");
21 auto nn = std::make_shared<const GNN>(*
m_base_gnns.at(nn_name), opts);
25 std::shared_ptr<const GNN> nn;
27 ATH_MSG_INFO(
"building " << nn_name <<
" from onnx file to run with Triton");
30 auto saltSharedTriton = std::make_shared<const SaltModelTriton>(fullPathToOnnxFile
38 nn = std::make_shared<const GNN>(saltShared, opts);
45 return StatusCode::SUCCESS;
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_tritonBearer
virtual std::shared_ptr< const GNN > get(const std::string &nn_name, const GNNOptions &opts) override
std::unordered_map< std::string, val_t > m_base_gnns
Gaudi::Property< bool > m_tritonUseSsl
Gaudi::Property< std::map< std::string, std::string > > m_tritonPathToName
Gaudi::Property< std::string > m_tritonUrl
std::unordered_map< NNHashing::NNKey, val_t, NNHashing::NNHasher > m_gnns
Gaudi::Property< int > m_tritonPort
Gaudi::Property< float > m_tritonTimeout
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::shared_ptr< const ISaltModel > ISaltModelPtr