-
Notifications
You must be signed in to change notification settings - Fork 38
is it work on Win platform? #7
Comments
Currently, Windows is not supported. I do not have access to Windows 10 and I am unable to help with this. It would be great to get help on this from someone on a Windows system. Would you be willing to help get bnb to work on Windows? |
I've taken a quick look at this e.g. here and here - but have not done such ports before. My initial thoughts are:
I'm hesitant to investigate windows build systems from really huge projects (pytorch, sklearn, ...) because their scope seems way different. Are you aware of a project with similar scope as bitsandbytes and a working windows build system to use as an example? |
I've spent a bit more time looking at how DeepSpeed solves building on Windows. They make use of |
Thanks @jorahn! What DeepSpeed is doing seems to be the canonical way to handle this. @TitusCornelius is currently working on a conda build and it might be useful to add this together with the conda build and fix at the same time Windows installation. @TitusCornelius any thoughts on how much work this would be? |
Any update on this? |
Hi @jorahn, hi all, Hi all, Anyways, yes, I've spent some time on trying to automate the build, but so far it's just a repackaging of the pip package and that isn't even working due to two bugs in conda that I have yet to report. Either way, I was planning to automate the Linux build as a parametrized Conda package (building everything from scratch), but Windows is not on my roadmap, unless I receive a contribution from one of you with a functioning Windows buildscript that I can then retool into the conda package install. Let me know if you're interested in collaborating on this. I'll only start working on this again in three weeks though. Kind regards,Titus P.S. Thanks Jonathan, those seem like useful links for starting work on this, however, neither @TimDettmers nor I are planning to take the lead on the Windows build. Contributions, however, are highly appreciated and we'll try to support and get this implemented if we have your support. P.P.S. Any future work will be done exclusively on https:/TimDettmers/bitsandbytes however. |
I could try helping out in a week or so:
|
I can furnish you with a Pro 10 license if it would help. |
@noizu -- looks like the future repo is here: https:/TimDettmers/bitsandbytes (according to his previous post). |
Excuse me, does this repository support Windows now? |
Still not.. |
Okay, thanks. |
Up. Windows support |
Okay, thanks very much. I'll try it later. |
I download the latest version which is 0.37.0, however, it does not support windows.... |
I have made a bitsandbytes-windows lib so it could work on windows 10 bitsandbytes-foundation/bitsandbytes#175 (comment) Simply install it via |
Also this exists: https:/DeXtmL/bitsandbytes-win-prebuilt |
I am have OSError: [WinError 193] %1 is not a valid Win32 application in lib = ct.cdll.LoadLibrary(os.path.dirname(file) + '/libbitsandbytes.so') in functional.py. WAIDW?
The text was updated successfully, but these errors were encountered: