5#ifndef FLAVORTAGINFERENCE_SALTMODELTRITON_H
6#define FLAVORTAGINFERENCE_SALTMODELTRITON_H
17#include "grpc_client.h"
18#include "grpc_service.pb.h"
24namespace tc = triton::client;
32 ,
const std::string& model_name
33 ,
float client_timeout
35 ,
const std::string& url
43 virtual const std::string&
getModelName()
const override;
46 const nlohmann::json
loadMetadata(
const std::string& key,
const Ort::Session* session)
const;
48 tc::InferenceServerGrpcClient*
getClient()
const;
nlohmann::json m_metadata
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)
virtual InferenceOutput runInference(std::map< std::string, Inputs > &gnn_inputs) const override
OutputConfig m_output_nodes
const nlohmann::json loadMetadata(const std::string &key, const Ort::Session *session) const
virtual const OutputConfig & getOutputConfig() const override
virtual const SaltModelGraphConfig::GraphConfig getGraphConfig() const override
SaltModelVersion m_onnx_model_version
std::unique_ptr< tc::InferOptions > m_options
const std::string determineModelType(const Ort::Session *session) const
virtual SaltModelVersion getSaltModelVersion() const override
virtual const std::string & getModelName() const override
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::vector< SaltModelOutput > OutputConfig