-
Notifications
You must be signed in to change notification settings - Fork 2
Test PR for new Retry Framework #19
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
base: master
Are you sure you want to change the base?
Test PR for new Retry Framework #19
Conversation
@@ -65,6 +65,7 @@ class TritonClient : public SonicClient<TritonInputMap, TritonOutputMap> { | |||
bool handle_exception(F&& call); | |||
|
|||
void reportServerSideStats(const ServerSideStats& stats) const; | |||
void updateServer(std::string serverName); |
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.
const std::string&
@@ -574,6 +561,26 @@ inference::ModelStatistics TritonClient::getServerSideStatus() const { | |||
return inference::ModelStatistics{}; | |||
} | |||
|
|||
void TritonClient::updateServer(std::string serverName){ |
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.
const std::string&
useSharedMemory = cms.untracked.bool(not options.noShm), | ||
compression = cms.untracked.string(options.compression), | ||
Retry = cms.VPSet( |
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.
should rebase on latest 15_1_X prerelease (to incorporate cms-sw#47748)
PR description:
Implements a
RetryActionBase
class for different types of action to be taken upon the need to retry.SonicClientBase
will have a list ofRetryAction
pointers initialized at construction.The client will retry the list of actions one-by-one until every actions is no-longer suitable to retry.
An example configuration may look like this: