-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readme steps don't work for me. Fails at setup_env.py #73
Comments
Same |
please make sure that in your build environment cmake is installed+in the path. there is a issue #34 + PR for this problem already. |
installed latest version of cmake and Clang
Log file entry
|
i first start the Developer Command Prompt for VS 2022 then i start conda From your logoutput Command '['cmake', '-B', 'build', '-DBITNET_X86_TL2=ON', '-T', 'ClangCL']' So please make sure that the Visual Studio clang compiler version is visible and installed: (bitnet-cpp) C:\work\microsoft\BitNet>clang --version Hope you can resolve the error with this information |
Wait this project only works if you are using Visual Studio 2022? It doesn't work at all outside of it, like VSCode? |
it is C/C++ code. You have to build and compile it with a compiler (e.g. clang or clang from Visual Studio). you should check the README :-) https://github.com/microsoft/BitNet?tab=readme-ov-file#installation |
Let me clarify. Do i have to buy Visual studio Pro to use this library or can i use clang and CMAKE directly? |
I used the community version of visual studio, needed to add 2 extensions to enable building, then used conda and followed the readme. I got similar errors to you when I tried using vs code insiders & venv Now it works for me |
(.venv) PS C:\Users\jesse\Documents\source\BitNet> python setup_env.py --hf-repo HF1BitLLM/Llama3-8B-1.58-100B-tokens -q i2_s
The text was updated successfully, but these errors were encountered: