diff options
author | Tim Dettmers <tim.dettmers@gmail.com> | 2022-08-01 19:22:41 -0700 |
---|---|---|
committer | Tim Dettmers <tim.dettmers@gmail.com> | 2022-08-01 19:22:41 -0700 |
commit | 8bf3e9faab6dfb04d676a5ea413530cdee09744c (patch) | |
tree | a465e10c7c040f2bdc56dfe5afd681538ef8b2af /bitsandbytes/utils.py | |
parent | c4fe6c69a33bacd292dfab87dc91dad32ba5fcf4 (diff) |
Added full env variable search; CONDA_PREFIX priority.
Diffstat (limited to 'bitsandbytes/utils.py')
-rw-r--r-- | bitsandbytes/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitsandbytes/utils.py b/bitsandbytes/utils.py index 8a9fc0e..e1d9460 100644 --- a/bitsandbytes/utils.py +++ b/bitsandbytes/utils.py @@ -2,6 +2,7 @@ import sys import shlex import subprocess +from typing import Tuple def execute_and_return(command_string: str) -> Tuple[str, str]: def _decode(subprocess_err_out_tuple): @@ -19,7 +20,7 @@ def execute_and_return(command_string: str) -> Tuple[str, str]: ).communicate() ) - std_out, std_err = execute_and_return_decoded_std_streams() + std_out, std_err = execute_and_return_decoded_std_streams(command_string) return std_out, std_err |