Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Davidson committed Oct 2, 2023
1 parent cc90b0b commit 7dcf327
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/perftest/models/v1alpha1/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Device(str, schema.Enum):
# List of models here should match list in images/pytorch-benchmark/Dockerfile
class PytorchModel(str, schema.Enum):
"""
Eumeration available models for benchmarking.
Enumeration of available models for benchmarking.
"""
ALEXNET = "alexnet"
RESNET50 = "resnet50"
Expand Down Expand Up @@ -220,8 +220,7 @@ async def pod_modified(
pod: t.Dict[str, t.Any],
fetch_pod_log: t.Callable[[], t.Awaitable[str]]
):
# Set default GPU count if none given in spec
# (have to do this in status since spec is immutable)
# Set default GPU count to display in status if none given in spec
if self.spec.gpu_count is None:
self.status.gpu_count = (0 if self.spec.device == "cpu" else 1)
else:
Expand Down

0 comments on commit 7dcf327

Please sign in to comment.