-
Notifications
You must be signed in to change notification settings - Fork 21
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
Illegal instruction (core dumped) on Ubuntu 22.04.2 #11
Comments
I do have 2 cpus maybe that has something to do with it? |
I can't really reproduce it, I tried pure CPU on linux and windows with the same model and commandline. Can you try run in debug mode, to see if you get more out of it. |
|
@dRAT3 Instead of single-stepping you can just |
Oh thx mate first time using gdb 👍
|
going to spray some prints in the |
Interesting, my first guess is that it's a kernel issue. some AVX support problem. Other option: kernel upgrade. You can also try updating compilers to latest standards first. If you run into more such issues beyond that point the compilation flags will need to be changed to not use those instruction sets. |
It looks like the compiler is being told to compile with AVX instructions even though your CPU does not support them. If you can pass |
Built like this: |
I'm not sure what instructions your CPU supports, but you may also need one of |
Yep, so you need at least |
I was under the impression that AVX is automatically switched on/off depending on what the cpu broadcasts as supported. |
It core dumps when running without args and when running with the correct args as well.
System:
Kernel Linux 5.15.0-75-generic x86_64
MATE 1.26.0
Intel® Xeon(R) CPU X5660 @ 2.80GHz × 24
llvmpipe (LLVM 15.0.6, 128 bits)
Branch: Main no cuda
_home_barry_evo_ggllm.cpp_build_bin_falcon_main.1000.txt
The text was updated successfully, but these errors were encountered: