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 26, 2024
1 parent 780b88f commit 4348f7e
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 @@ -150,13 +150,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_parameter(
self, run_config: RunConfig, model_parameters: Dict, parameter: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,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 4348f7e

Please sign in to comment.