Skip to content

Commit

Permalink
fixing property, linting submission_runner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
znado committed Mar 9, 2022
1 parent e5b5621 commit 9bfc070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: |
pylint algorithmic_efficiency
pylint baselines
pylint submission_runner.py
pylint submission_runner_test.py
isort:
Expand Down
3 changes: 2 additions & 1 deletion algorithmic_efficiency/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def build_input_queue(self,
def param_shapes(self):
"""The shapes of the parameters in the workload model."""

@property
@abc.abstractmethod
def model_params_types(self) -> ParameterType:
"""The types of the parameters in the workload model."""
Expand Down Expand Up @@ -280,5 +281,5 @@ def data_selection(workload: Workload,


def get_batch_size(workload_name):
"""Return a per-device batch size to use for a given workload."""
"""Return the global batch size to use for a given workload."""
pass

0 comments on commit 9bfc070

Please sign in to comment.