Skip to content

Commit

Permalink
Fix includes and map assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
debermudez committed Sep 28, 2023
1 parent f255c22 commit eb4ca9b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/c++/library/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <unordered_map>
#include <vector>

#ifdef TRITON_INFERENCE_SERVER_CLIENT_CLASS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,7 @@ TritonClientBackend::ParseInferOptionsToTriton(
static_cast<std::underlying_type<cb::RequestParameterType>::type>(
map_entry.second.type);
rp.type = static_cast<tc::RequestParameterType>(val);
triton_options->request_parameters.insert(
std::make_pair(map_entry.first, rp));
triton_options->request_parameters[map_entry.first] = rp;
}
}

Expand Down
2 changes: 0 additions & 2 deletions src/c++/perf_analyzer/mock_infer_data_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@

namespace triton { namespace perfanalyzer {

// std::unordered_map<std::string, clientbackend::RequestParameter>
// request_parameters;

class MockInferDataManagerShm : public InferDataManagerShm {
public:
Expand Down

0 comments on commit eb4ca9b

Please sign in to comment.