Error Loading LLAMA 3.1 llama_model_load: error loading model: done_getting_tensors: wrong number of tensors; expected 292, got 291[BUG]:
Description
[BUG]: Error Loading LLAMA 3.1 llama_model_load: error loading model: done_getting_tensors: wrong number of tensors; expected 292, got 291
Reproduction Steps
Error Loading LLAMA 3.1 .gguf model
Environment & Configuration
- Operating system: Windows 10
- .NET runtime version: .net 8
- LLamaSharp version:
- CUDA version (if you are using cuda backend):
- CPU & GPU device: 13th Gen Intel(R) Core(TM) i7-13850HX, 2304 Mhz, 20 Core(s), 28 Logical Processor(s)
Known Workarounds
No response
Could you try it with this branch, that should include the llama.cpp fixes for llama 3.1.
I am having the exact same problem also using Windows 10.:
llama_model_load: error loading model: done_getting_tensors: wrong number of tensors; expected 292, got 291
llama_load_model_from_file: failed to load model
Was that with the PR I linked above? It's not expected that llama 3.1 will work with master or the current nuget packages.
@emulk @CastIehard this should now be fixed in the LLamaSharp 0.15 release from 3 days ago.
This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.