Skip to content

Commit

Permalink
fix type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
tgerdesnv committed Jan 17, 2024
1 parent bd8a9fc commit 44dc20f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ def _get_model_parameters(self, model_name: str) -> Dict:
for model in self._models:
if model_name == model.model_name():
return model.parameters()

return {}

def _get_model_perf_analyzer_flags(self, model_name: str) -> Dict:
for model in self._models:
if model_name == model.model_name():
return model.perf_analyzer_flags()
return {}

def _set_inference_load(
self, run_config: RunConfig, model_parameters: Dict, inference_load: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,4 @@ def _get_model_perf_analyzer_flags(self, model_name: str) -> Dict:
for model in self._models:
if model_name == model.model_name():
return model.perf_analyzer_flags()
return {}

0 comments on commit 44dc20f

Please sign in to comment.