summaryrefslogtreecommitdiff
path: root/bitsandbytes/utils.py
diff options
context:
space:
mode:
authorTim Dettmers <TimDettmers@users.noreply.github.com>2022-09-05 16:29:36 -0700
committerGitHub <noreply@github.com>2022-09-05 16:29:36 -0700
commitf0ae860c86039d1c1e41166aaf2153a5bd9b9a89 (patch)
tree75477acfbce2da2a753ee21d4cf0da64f3f50ea5 /bitsandbytes/utils.py
parenteab4d8232d558f2e6bd7f7cc3d00e2e6e94f4e80 (diff)
parentaca55881b9815a462142f42f3ff0dc917830d85c (diff)
Merge pull request #25 from TimDettmers/remove_unused_code
Remove unused code, switch to warnings
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)