You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like llama.cpp added support for Windows, would be great to add the same changes to this repo as well: ggml-org/llama.cpp#31
Seems like a nice first contribution for anyone who is interested!
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
Activity
nmntz commentedon Mar 22, 2023
Seems like llama.cpp added support for Windows, would be great to add the same changes to this repo as well: ggml-org/llama.cpp#31
Seems like a nice first contribution for anyone who is interested!
donno commentedon 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 commentedon 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 commentedon Nov 3, 2023
Unusable on windows without binaries..