NanoLLM icon indicating copy to clipboard operation
NanoLLM copied to clipboard

all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 2 has 3 dimension(s)

Open Shehjad-Ishan opened this issue 6 months ago • 2 comments

Enbedding shape:(1, 32) Enbedding shape:(1, 7) Enbedding shape:(1, 196, 2560) Enbedding shape:(1, 13) Traceback (most recent call last): File "/home/sigmind/VideoDownloader/nano_llm_try/video.py", line 105, in <module> embedding, _ = chat_history.embed_chat() File "/home/sigmind/VideoDownloader/nano_llm_try/nano_llm/chat/history.py", line 385, in embed_chat embeddings = np.concatenate(embeddings, axis=1) #, position File "<__array_function__ internals>", line 180, in concatenate ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 2 has 3 dimension(s) I am trying to run NanoLLM on my ubuntu machine (not Jetson, x86 dGPU). This error has occured. I am loading the model as hugging face model. Complied the jeston_utlis locally without libsoup.

Shehjad-Ishan avatar Jul 29 '24 06:07 Shehjad-Ishan