Skip to content
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

Fix default values for backend configs when not set #3317

Merged
merged 2 commits into from
Sep 13, 2021

Conversation

CoderHam
Copy link
Contributor

@CoderHam CoderHam commented Sep 2, 2021

  • MinComputeCapability
  • BackendDir
  • StrictModelConfig

std::to_string(min_compute_capability));
loptions->AddBackendConfig(
std::string(), "backend-directory", loptions->BackendDir());

lserver->SetStrictReadinessEnabled(loptions->StrictReadiness());
lserver->SetExitTimeoutSeconds(loptions->ExitTimeout());
lserver->SetBackendCmdlineConfig(loptions->BackendCmdlineConfigMap());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is where all the AddBackendConfig commands must be completed before. Can you move the AddBackendConfig calls and this line does to after the other option setting (line1740) and put a comment indicating as much.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

- MinComputeCapability
- BackendDir
- StrictModelConfig
@CoderHam CoderHam merged commit 448b38d into main Sep 13, 2021
@CoderHam CoderHam deleted the hemantj-server-options branch September 13, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants