Does anyone know if there are pre-converted versions of any of these models, or models with similar capabilities, available for the Radxa Fogwise Airbox?
Any information on their performance and setup would be greatly appreciated.
I’m trying to run the model Llama3_2-Vision from Sophgo’s LLM-TPU GitHub repository. I’m running into a memory allocation error that I can’t seem to resolve.
Here’s what I’ve done so far:
I followed the setup instructions provided in the repository and ran the run_demo.sh script.
BM-SMI shows approximately 8GB of RAM allocated on the TPU before the process fails.
Error Details
Here’s the log output around where the error occurs:
It seems like the TPU fails to allocate enough memory, causing bm_alloc_gmem failed errors when trying to allocate 0x6b9a3000 bytes. The process then exits due to a coeff alloc failed error.
Troubleshooting Steps Tried
Ensuring that all paths and configurations are correctly set.
Checking memory usage on the TPU, which confirms 8GB is allocated just before the error.
Has anyone encountered a similar issue when running Llama3_2-Vision on the BM1684X?
I appreciate the suggestion to increase the TPU memory to 12GB. I checked the documentation provided here, but I thought the maximum assignable memory for the TPU was capped at 7615MB. Could you clarify if there’s a way around this limit or if I’m missing something in the memory allocation process?
The TPU memory is shared with the system memory, which is 16GB, and the TPU memory consists of NPU, VPU, and VPP memories. Even though the NPU is set to a maximum of 7615MB, when the NPU memory is not enough to load a bmodel, the NPU would try to uses the VPU and VPP memories to avoid memory overload errors, so increase three of them memories can avoid the error.