 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FLAVORTAGINFERENCE_SALTMODELTRITON_H
6 #define FLAVORTAGINFERENCE_SALTMODELTRITON_H
17 #include "grpc_client.h"
18 #include "grpc_service.pb.h"
32 ,
const std::string& model_name
33 ,
float client_timeout
35 ,
const std::string&
url
43 virtual const std::string&
getModelName()
const override;
48 tc::InferenceServerGrpcClient*
getClient()
const;
virtual const OutputConfig & getOutputConfig() const override
This file contains "getter" functions used for accessing tagger inputs from the EDM.
virtual SaltModelVersion getSaltModelVersion() const override
const std::string determineModelType(const Ort::Session *session) const
OutputConfig m_output_nodes
SaltModelVersion m_onnx_model_version
virtual const std::string & getModelName() const override
virtual const SaltModelGraphConfig::GraphConfig getGraphConfig() const override
const nlohmann::json loadMetadata(const std::string &key, const Ort::Session *session) const
nlohmann::json m_metadata
virtual InferenceOutput runInference(std::map< std::string, Inputs > &gnn_inputs) const override
std::vector< SaltModelOutput > OutputConfig
std::unique_ptr< tc::InferOptions > m_options
tc::InferenceServerGrpcClient * getClient() const
SaltModelTriton(const std::string &path_to_onnx, const std::string &model_name, float client_timeout, int port, const std::string &url, bool useSSL)