Skip to content
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

bug: Illegal instruction (core dumped) #393

Closed
KweezyCode opened this issue Jan 30, 2024 · 6 comments
Closed

bug: Illegal instruction (core dumped) #393

KweezyCode opened this issue Jan 30, 2024 · 6 comments
Assignees
Labels
type: bug Something isn't working

Comments

@KweezyCode
Copy link

Describe the bug
I used guide from project description and got Illegal instruction (core dumped)

Expected behavior
working nitro

OS: Ubuntu 22.04.3 LTS x86_64
Kernel: 5.15.0-91-generic
CPU: Intel Pentium Silver J5040 (4) @ 3.200GHz

@KweezyCode KweezyCode added the type: bug Something isn't working label Jan 30, 2024
@hiento09
Copy link
Contributor

hiento09 commented Feb 6, 2024

Hi @KweezyCode , can you provide which version of Nitro that you use? Also, a log and screen capture would be great. Thank you.

@KweezyCode
Copy link
Author

KweezyCode commented Feb 6, 2024

kweezy@j5040:~$ nitro --version
Illegal instruction (core dumped)

i think it is the latest from github, it is not working at all. I used guide from README to install it

@hiro-v
Copy link
Contributor

hiro-v commented Feb 11, 2024

@KweezyCode which nitro binary did you download and install?
Could you share with us the .tar.gz file name?
I believe that you downloaded the wrong tar file, that's why you see this error

@KweezyCode
Copy link
Author

@KweezyCode which nitro binary did you download and install? Could you share with us the .tar.gz file name? I believe that you downloaded the wrong tar file, that's why you see this error

i have built it from source, same error. I also tried amd64 tar file, same error. Btw, my processor doesn't support AVX, i don't know do you use it or no

@hiro-v
Copy link
Contributor

hiro-v commented Feb 17, 2024

Thanks for the response

You might need to try these and see which works by adding flag to existing build flag

  • To add support for AVX512: -DLLAMA_AVX512=ON
  • To add support for AVX: -DLLAMA_AVX2=OFF
  • To add support if there is no AVX: -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF

@KweezyCode
Copy link
Author

it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants