We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e73b58 commit 77b888fCopy full SHA for 77b888f
src/diffusers/pipelines/pipeline_utils.py
@@ -507,7 +507,7 @@ def module_is_offloaded(module):
507
if dtype in (torch.bfloat16, None) and kwargs.pop("sdp_on_bf16", True):
508
if hasattr(torch._C, "_set_math_sdp_allow_fp16_bf16_reduction"):
509
torch._C._set_math_sdp_allow_fp16_bf16_reduction(True)
510
- logger.warning(f"Enabled SDP with BF16 precision on HPU. To disable, please use `.to('hpu', sdp_on_bf16=False)`")
+ logger.warning("Enabled SDP with BF16 precision on HPU. To disable, please use `.to('hpu', sdp_on_bf16=False)`")
511
512
module_names, _ = self._get_signature_keys(self)
513
modules = [getattr(self, n, None) for n in module_names]
0 commit comments