Forums - Cannot load a 3B model with QNN

1 post / 0 new
Cannot load a 3B model with QNN
v.castillo
Join Date: 14 Jun 23
Posts: 4
Posted: Fri, 2023-09-29 04:06

Dear QC engineer,

I'm having issues to load a Llama2 3B model with QNN onto S23 Snapdragon Gen 2 SM8550. We are trying to load it via a binary context, and got the following error message. Any pointer on how to proceed?

Thanks!

[+2]:[DEBUG] Calling QNN function: contextCreateFromBinary [+0]:[ERROR] <E> fastrpc memory map for fd: 45 with length: 450887680 failed with error: 1 [+0]:[ERROR] <E> Failed to map weights buffer to device! [+0]:[ERROR] <E> Could not allocate persistent weights buffer! [+0]:[ERROR] <E> Failed to initialize graph memory [+0]:[ERROR] <E> Failed to initialize graph with id 257 context 4 deviceId 0 coreId 0 pdId 0 with err 1002 [+0]:[ERROR] <E> Context create from binary failed for deviceId 0 coreId 0 pdId 0 err 1002

  • Up1
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.