-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose cmdline option to set repo agent directory. Fix repo agent invoke order. Fix test #2511
Conversation
src/core/model_repository_manager.cc
Outdated
switch (action_type) { | ||
case TRITONREPOAGENT_ACTION_LOAD: | ||
case TRITONREPOAGENT_ACTION_UNLOAD: { | ||
for (size_t idx = 0; idx < agent_models_.size(); --idx) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ++idx right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, typo..
@@ -272,6 +275,7 @@ class TritonServerOptions { | |||
std::map<int, uint64_t> cuda_memory_pool_size_; | |||
double min_compute_capability_; | |||
std::string backend_dir_; | |||
std::string repoagent_dir_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initialize this to default value in the TritonServerOptions constructor
No description provided.