Skip to content
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

May you release a windows build binary? #17

Open
progressionnetwork opened this issue Mar 21, 2023 · 4 comments
Open

May you release a windows build binary? #17

progressionnetwork opened this issue Mar 21, 2023 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@progressionnetwork
Copy link

No description provided.

@NouamaneTazi
Copy link
Owner

Seems like llama.cpp added support for Windows, would be great to add the same changes to this repo as well: ggerganov/llama.cpp#31
Seems like a nice first contribution for anyone who is interested!

@NouamaneTazi NouamaneTazi added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 22, 2023
@donno
Copy link

donno commented Mar 25, 2023

Any preference on offering binaries built with MSVC (Microsoft Visual C++) or GCC (via MinGW?
Or even producing and publishing builds from both.

@ZhuoyuW
Copy link

ZhuoyuW commented Mar 27, 2023

I used mingw32-make to build it in Windows, but got an error:

mingw32-make CC=gcc.exe CXX=g++.exe
I llama.cpp build info:
I UNAME_S: MSYS_NT-10.0-17763
I UNAME_P: unknown
I UNAME_M: x86_64
I CFLAGS: -I. -O3 -DNDEBUG -std=c11 -fPIC -mfma -mf16c -mavx -mavx2
I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
I LDFLAGS:
I CC: gcc.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 12.2.0
I CXX: g++.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 12.2.0

g++.exe -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC main.cpp ggml.o utils.o -o main
./main -h
mingw32-make: *** [makefile:200: main] Error -1073741511

It would be great if someone can provide me some instructions on how to add support for Windows.
Thank you.

@nikich340
Copy link

Unusable on windows without binaries..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants