You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to execute the code on my machine I get the error: "Segmentation failure (core image written)" I know that usually this failure indicates that the program tried to access an area of memory that was not allocated or is not accessible.
I have tried debugging the code on my machine but I still get stuck with this problem.
Please review the following PR that I opened yesterday: #142.
I encountered the same problem, delved into it, and investigated.
Firstly, how much RAM do you have?
Additionally, how much RAM was available before loading the entire weight set?
The most likely root cause of the problem is that you either do not have a sufficient amount of RAM or you have at least the minimum required RAM. However, the available RAM prior to loading the weight set was insufficient due to various reasons, such as background tasks, etc.
I have 16gb of RAM in total.
There was 12gb of RAm at the time of running the model.
And from what I investigated, the probrability of the problem being related to my memory is certain. (I haven't tested it yet) But I'm thinking of changing the language model to a lighter one to see if it solves the problem.
I don't have much skill in C/C++ to investigate deeply the cause, like ggml exploitation.
Activity
ahmetkca commentedon Mar 25, 2023
Please review the following PR that I opened yesterday: #142.
I encountered the same problem, delved into it, and investigated.
Firstly, how much RAM do you have?
Additionally, how much RAM was available before loading the entire weight set?
The most likely root cause of the problem is that you either do not have a sufficient amount of RAM or you have at least the minimum required RAM. However, the available RAM prior to loading the weight set was insufficient due to various reasons, such as background tasks, etc.
archiwed commentedon Mar 25, 2023
I have 16gb of RAM in total.
There was 12gb of RAm at the time of running the model.
And from what I investigated, the probrability of the problem being related to my memory is certain. (I haven't tested it yet) But I'm thinking of changing the language model to a lighter one to see if it solves the problem.
I don't have much skill in C/C++ to investigate deeply the cause, like ggml exploitation.
I read your PR. Thanks for your feedback!
Q4_1 quantization (antimatter15#193)