RWKV / rwkv.cpp

INT4/INT5/INT8 and FP16 inference on CPU for RWKV language model
MIT License
1.37k stars 90 forks source link

Error while running cmake for rwkv.cpp on MacBook Pro M1 Pro #113

Open NextDoorLaoHuang-HF opened 1 year ago

NextDoorLaoHuang-HF commented 1 year ago

I am trying to run cmake for the rwkv.cpp project on my MacBook Pro M1 Pro, but I am encountering the following error:

"CMake Error at extras/CMakeLists.txt:3 (add_executable): addexecutable cannot create target "rwkv" because another target with the same name already exists. The existing target is an executable created in source directory "/Volumes/T7Shield/rwkvcpp/rwkv.cpp-master-6b26e0d/extras". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): extras/CMakeLists.txt:14 (rwkv_add_extra)"

Steps to reproduce:

Clone the rwkv.cpp project from GitHub Navigate to the project directory in the terminal Run "cmake ."