Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Xia-Weiwen committed Jun 17, 2024
1 parent 27d7bbd commit 8cfd5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitsandbytes/backends/cpu_xpu_common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import subprocess
from typing import Optional
import warnings
import subprocess

import torch

Expand All @@ -25,7 +25,7 @@
subprocess.run(["g++", "--version"])
gxx_available = True
except BaseException:
warnings.warn(f"g++ not found, torch.compile disabled for CPU/XPU.")
warnings.warn("g++ not found, torch.compile disabled for CPU/XPU.")


Tensor = torch.Tensor
Expand Down

0 comments on commit 8cfd5bb

Please sign in to comment.