Skip to content

Getting a Illegal instruction (core dumped) when trying to run #1422

Description

@blackdow1

Getting the Illegal instruction (core dumped) when I try to run llamasharp. Here is my process of trying to run this repo:
-dotnet new console -n LlamaSharpProject
-cd LLamaSharpProject
-dotnet add package LLamaSharp (I did not see the notice at the bottom of the readme at first, so i also went back and did the process over with --version 0.24.0 appended)
-dotnet add package LLamaSharp.Backend.Cpu (appended --version 0.24.0 on other attempt)
-dotnet build
-dotnet run (it fails silently, get no feedback from console.)
I then try dotnet bin/Debug/net10.0/LlamaSharpProject.dll and that is when i see the core dump message.

I am running this on an old laptop. These are its flags from lscpu command:
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pg
e mca cmov pat pse36 clflush dts acpi mmx fxsr sse
sse2 ht tm pbe syscall nx lm constant_tsc arch_perf
mon pebs bts rep_good nopl cpuid aperfmperf pni dte
s64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lah
f_lm pti dtherm ida

I am able to run models fine using ggml's llama.cpp. I am running the Qwen3-0_6B-Q4_0
Any help would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions