【LLM】Windows本地CPU部署民间版中文羊驼模型(Chinese-LLaMA-Alpaca)踩坑记录
、蠿:
cmake --build . --config Release
这一步编译报错。。怎么破。。
[code=html]
D:\haohuo\AIGC\LLAMA\alpaca\llama.cpp\llama.cpp:2598:40: error: 'thread' is not a member of 'std'
workers[it] = std::thread(compute);
^~~~~~
D:\haohuo\AIGC\LLAMA\alpaca\llama.cpp\llama.cpp:2598:40: note: 'std::thread' is defined in header ''; did you forget to '#include '?
D:\haohuo\AIGC\LLAMA\alpaca\llama.cpp\llama.cpp:2602:31: error: invalid types 'int[int]' for array subscript
workers[it].join();
^
mingw32-make.exe[2]: *** [CMakeFiles\llama.dir\build.make:76: CMakeFiles/llama.dir/llama.cpp.obj] Error 1
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:449: CMakeFiles/llama.dir/all] Error 2
[/code]
|