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

Exception if remote server is not in explicit mode #754

Merged
merged 3 commits into from
Aug 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions model_analyzer/triton/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ def load_model(self, model_name, variant_name="", config_str=None):
return None
except Exception as e:
logger.info(f"Model {variant_name} load failed: {e}")
if hasattr(e, "_msg") and "polling is enabled" in e._msg:
nv-hwoo marked this conversation as resolved.
Show resolved Hide resolved
raise TritonModelAnalyzerException(
"The remote Tritonserver needs to be launched in EXPLICIT mode"
)
return -1

def unload_model(self, model_name):
Expand Down
Loading