an issure face on when test on board rk3588

#1
by wanglaimin - opened

询 1: What is the capital of China?
编码文本: Instruct: Given a web search query, retrieve relevant passages that answer the query
Query: What is ...
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
E rkllm: The input_type of rkllm_input is not set.
编码文本时发生错误: rkllm_run failed with error code -1

测试过程中发生错误: rkllm_run failed with error code -1
Traceback (most recent call last):
File "/home/youyeetoo/models/rkllm_server_demo/rkllm_server/test_embedding.py", line 375, in main
tester.test_embedding_similarity()
File "/home/youyeetoo/models/rkllm_server_demo/rkllm_server/test_embedding.py", line 213, in test_embedding_similarity
emb = self.encode_text(query, task_description)
File "/home/youyeetoo/models/rkllm_server_demo/rkllm_server/test_embedding.py", line 159, in encode_text
self.runtime.run(rk_input, infer_params)
File "/home/youyeetoo/models/rkllm_server_demo/rkllm_server/rkllm_binding.py", line 466, in run
raise RuntimeError(f"rkllm_run failed with error code {ret}")
RuntimeError: rkllm_run failed with error code -1

Sign up or log in to comment