-
Notifications
You must be signed in to change notification settings - Fork 11.6k
[mqy] ./examples/chatLLaMa: line 53: 33476 Segmentation fault: 11 #373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sounds like duplicate of #317 |
Maybe not the same as #317 After a long conversation, I have also got a segmentation fault:
Model I was using was This is where it crashed:
|
main-2023-03-22-161321.ips.zip Here is the crash log. |
Above log indicates invalid access to a address The |
I see similar behavior sometimes. After approximately five turns, I often get either a "segmentation fault 11" error, or else it just freezes. There is no particular text that always triggers the crash. A full memory pool seems plausible. |
@Green-Sky Thanks for the PR. I tried it and I get the same behavior; after about five turns, I have noticed this problem seems to occur mainly with longer prompts. I'm doing some experiments now A 1024 word standard prompt almost always segfaults at turn five. A 62 word prompt either lasts much longer before segfaulting, or never segfaults (I haven't figured out which yet.) |
With the 62 word prompt, it crashes with the same segfault 11 error at about 24 turns. This may or may not be related: it occasionally stops generating text and completely halts midstream. When I press enter, then continues generating as if nothing had happened. |
Current Behavior
./examples/chatLLaMa
, After about 30-round talks, program quite withSegmentation fault: 11
.I did another try, input last question, but can't reproduce.
Environment and Context
MacBook Pro 2018, 2.6 GHz 6-Core Intel Core i7, 32 GB 2400 MHz DDR4
macOS 13.2.1 (22D68)
Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64
Failure Information (for bugs)
Failure Logs
My questions begin with
What time is it with timezone at Beijing?
, end withPlease translate your answer to "Do you mean "the road" is a pun?" as Chinese.
, you can copy & paste one of them to locate the conversation phrases.Console log:
The text was updated successfully, but these errors were encountered: