Skip to content

Commit

Permalink
Modify bitsandbytes package requirement to detect whether
Browse files Browse the repository at this point in the history
the user is on Windows, and use `bitsandbytes-windows` if so.

Fixes issue PromtEngineer#265

 On branch issue_265_bitsandbytes_windows
 Changes to be committed:
	modified:   requirements.txt
  • Loading branch information
tr-ace authored and KonradHoeffner committed Jul 26, 2023
1 parent 165b9cc commit b67f2a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ docx2txt
# Utilities
urllib3==1.26.6
accelerate
bitsandbytes
bitsandbytes ; sys_platform != 'win32'
bitsandbytes-windows ; sys_platform == 'win32'
click
flask
requests
Expand Down

0 comments on commit b67f2a0

Please sign in to comment.