summaryrefslogtreecommitdiff
path: root/bitsandbytes/utils.py
diff options
context:
space:
mode:
authorDmitry Baranchuk <dmitrybaranchuk@gmail.com>2022-09-10 19:33:21 -0700
committerGitHub <noreply@github.com>2022-09-10 19:33:21 -0700
commit843ad0631c65eabc7f64e80906ecf5482cc1a036 (patch)
tree07ab541ec59ab3474a711c155daa118fc0ae6864 /bitsandbytes/utils.py
parent8d34d36f150b0fd4914cdb56d4e3bda34c029ccc (diff)
parent2e630b55f51d454f3bd723dffda68a07ef93190c (diff)
Merge pull request #1 from TimDettmers/main
Update main branch
Diffstat (limited to 'bitsandbytes/utils.py')
-rw-r--r--bitsandbytes/utils.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bitsandbytes/utils.py b/bitsandbytes/utils.py
index 4256a87..1cd90e3 100644
--- a/bitsandbytes/utils.py
+++ b/bitsandbytes/utils.py
@@ -1,6 +1,5 @@
import shlex
import subprocess
-import sys
from typing import Tuple
@@ -22,11 +21,3 @@ def execute_and_return(command_string: str) -> Tuple[str, str]:
std_out, std_err = execute_and_return_decoded_std_streams(command_string)
return std_out, std_err
-
-
-def print_stderr(s: str) -> None:
- print(s, file=sys.stderr)
-
-
-def warn_of_missing_prerequisite(s: str) -> None:
- print_stderr("WARNING, missing pre-requisite: " + s)