abetlen / abetlen/llama-cpp-python

Error When Loading Model with llama_cpp: [WinError -1073741795] Windows Error 0xc000001d

Open
#1,660 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

I am experiencing an error when trying to load a model using the llama_cpp library in a Python application packaged with PyInstaller. The error message is as follows:

Traceback (most recent call last):
File "app.py", line 25, in
File "server\processor\text_translator.py", line 10, in __init__
File "llama_cpp\llama.py", line 372, in __init__
File "llama_cpp\_internals.py", line 50, in __init__
OSError: [WinError -1073741795] Windows Error 0xc000001d [17724]
Failed to execute script 'app'

This issue occurs specifically when loading the model with llama_cpp.
Could you provide guidance on how to resolve this error? Is there a known issue with llama_cpp on Windows, or could this be related to compatibility problems with PyInstaller?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.