Build error #1
Replies: 4 comments 4 replies
-
Oops, sorry! I thought GitHub would advise me with an email if any discussion would be opened. Next time, please open an issue for this type of things, it is more suitable to the issues section rather than discussions. You can also @me if I don't respond within 2-3 days The issue here is already fixed, my fault:
Actually was
Latest |
Beta Was this translation helpful? Give feedback.
-
Okay nevermind, I was looking at the second issue. The build error is actually because this will only compile for ARM devices. By default, the compilation script is using the default GCC and G++ installed on your system. Since you are using a GCloud instance, you are running x86 GCC/G++. If you want to use the cloud instance for converting, you actually don't need to install the full program. Check this for converting: https://github.com/Pelochus/ezrknn-llm?tab=readme-ov-file#converting-llms-for-rockchips-npus |
Beta Was this translation helpful? Give feedback.
-
This is the load time for the 7B model. I know, boring but... |
Beta Was this translation helpful? Give feedback.
-
This is the model running. It's not consistent with answers. I had ran the model just before recording it and it gave me a very detailed answer to the question. After reloading the model, I got this response from the same question. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this is an update issue or something I did when reinstalling my vm.
I am using a Google Cloud vm instance x86/64, 64gb RAM, 250gb HD, running Debian 12
I had this working yesterday. I was able to convert Qwen. However, the instance I had was not adequate to convert llama2 so I created a new one today. When I cloned the repo and tried to install, I received the following:
`@rknn-llm:~$ cd ezrknn-llm && sudo bash install.sh
#########################################
Checking root permission...
#########################################
#########################################
Installing RKNN LLM libraries...
#########################################
#########################################
Compiling LLM runtime for Linux...
#########################################
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /ezrknn-llm/rkllm-runtime/example/build/build_linux_aarch64_Release
[ 50%] Building CXX object CMakeFiles/llm_demo.dir/src/main.cpp.o
[100%] Linking CXX executable llm_demo
/usr/bin/ld: /ezrknn-llm/rkllm-runtime/example/../runtime/Linux/librkllm_api/aarch64/librkllmrt.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/llm_demo.dir/build.make:98: llm_demo] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/llm_demo.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
#########################################
Moving rkllm to /usr/bin...
#########################################
cp: cannot stat './build/build_aarch64_Release/llm_demo': No such file or directory
#########################################
Increasing file limit for all users (needed for LLMs to run)...
#########################################
#########################################
Done installing ezrknn-llm!
#########################################`
Any assistance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions