Skip to content

Commit 1957834

Browse files
committed
make style
1 parent e32212b commit 1957834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/utils/import_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ def get_major_and_minor_from_version(full_version):
420420
@lru_cache
421421
def is_torch_xpu_available(check_device=False):
422422
"""
423-
Checks if XPU acceleration is available either via `intel_extension_for_pytorch` or
424-
via stock PyTorch (>=2.4) and potentially if a XPU is in the environment
423+
Checks if XPU acceleration is available either via `intel_extension_for_pytorch` or via stock PyTorch (>=2.4) and
424+
potentially if a XPU is in the environment
425425
"""
426426
if not is_torch_available():
427427
return False

0 commit comments

Comments
 (0)