Submitted by simpleuserhere t3_11usq7o in MachineLearning
ninjasaid13 t1_jcuajwh wrote
Reply to comment by simpleuserhere in [Research] Alpaca 7B language model running on my Pixel 7 by simpleuserhere
yes I have cygwin.
simpleuserhere OP t1_jcubta9 wrote
I haven't tried cygwin for Alpaca.cpp.
ninjasaid13 t1_jcubyue wrote
so it won't work? do I need to install MinGW?
simpleuserhere OP t1_jcuc25e wrote
Yes,
ninjasaid13 t1_jcufsqf wrote
I'm getting a new error
C:\Users\ninja\source\repos\alpaca.cpp>make chat
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -p, ...) failed.
process_begin: CreateProcess(NULL, uname -m, ...) failed.
'cc' is not recognized as an internal or external command,
operable program or batch file. 'g++' is not recognized as an
internal or external command, operable program or batch file.
I llama.cpp build info: I UNAME_S: I UNAME_P: I UNAME_M: 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: I CXX:
g++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC chat.cpp
ggml.o utils.o -o chat process_begin: CreateProcess(NULL, g++
-I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC chat.cpp
ggml.o utils.o -o chat, ...) failed. make (e=2): The system
cannot find the file specified. Makefile:195: recipe for
target 'chat' failed make: *** [chat] Error 2
Art10001 t1_jcwg7bv wrote
Try installing MSYS2.
ninjasaid13 t1_jcwwgt5 wrote
now what?
Art10001 t1_jcy2jck wrote
I was asleep, my apologies for not replying earlier.
Run pacman -Syu
then pacman -Sy build-essential
then cd
to the build directory and follow the instructions
Viewing a single comment thread. View all comments