Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Vaidya <[email protected]>
  • Loading branch information
ashwinvaidya17 committed Jan 21, 2025
1 parent 4f2209c commit b780754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/anomalib/engine/accelerator/xpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def is_available() -> bool:
@staticmethod
def get_device_stats(device: str | torch.device) -> dict[str, Any]:
"""Returns XPU devices stats."""
del device # Unused
return {}

Check warning on line 52 in src/anomalib/engine/accelerator/xpu.py

View check run for this annotation

Codecov / codecov/patch

src/anomalib/engine/accelerator/xpu.py#L51-L52

Added lines #L51 - L52 were not covered by tests

def teardown(self) -> None:
Expand Down

0 comments on commit b780754

Please sign in to comment.