Skip to content

Commit 2fefd2f

Browse files
albertalbert
albert
authored and
albert
committed
able to run pytest on M2 MacMini
1 parent 67d72cb commit 2fefd2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bitsandbytes/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ def execute_and_return_decoded_std_streams(command_string):
158158
std_out, std_err = execute_and_return_decoded_std_streams(command_string)
159159
return std_out, std_err
160160

161-
__cuda_devices = None
162161
def get_cuda_devices():
163162
global __cuda_devices
164163
if __cuda_devices is None:

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ pytest==7.2.2
22
einops==0.6.0
33
wheel==0.40.0
44
lion-pytorch==0.0.6
5+
numpy==1.25.0
6+
scipy==1.11.0

0 commit comments

Comments
 (0)