5#ifndef NN_SHARING_TRITON_SVC_H
6#define NN_SHARING_TRITON_SVC_H
17 using extends::extends;
19 virtual std::shared_ptr<const GNN>
get(
20 const std::string& nn_name,
23 using val_t = std::shared_ptr<const GNN>;
24 std::unordered_map<NNHashing::NNKey, val_t, NNHashing::NNHasher>
m_gnns;
27 ,
"Timeout value for Triton client"};
29 ,
"Triton server port"};
30 Gaudi::Property<std::string>
m_tritonUrl {
this,
"TritonUrl",
""
31 ,
"Triton server URL"};
33 ,
"Connect to the Triton server over SSL"};
34 Gaudi::Property<std::map<std::string, std::string>>
m_tritonPathToName {
this,
"TritonPathsMap", {}
35 ,
"Mapping of ONNX file paths to Triton model names"};
37 ,
"Bearer token for Triton server authentication"};
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
std::shared_ptr< const GNN > val_t
Gaudi::Property< float > m_tritonTimeout
This file contains "getter" functions used for accessing tagger inputs from the EDM.