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
{{ message }}
Repository navigation
Illegal instruction on Raspberry Pi 4 (ARMv8) #561
Device: Raspberry Pi 4 (2GB) - Raspberry Pi 4 Model B Rev 1.2
OS: Raspberry Pi OS Lite (64-bit)
Architecture: ARMv8 (aarch64)
Cactus version: latest main
Steps to reproduce
cactus build --python
cactus run Qwen/Qwen3-0.6B --precision INT4
cactus run Qwen/Qwen3.5-0.8B --precision INT4
Result
Illegal instruction
Expected
Model runs as on Raspberry Pi 5
Notes
Raspberry Pi 5 is ARMv8.2, Raspberry Pi 4 is ARMv8.0.
Likely compiled with instructions not supported on ARMv8.0.
Benchmarks on your README only show RPi 5 — is RPi 4 officially supported?
The current native build is compiled with an ARMv8.2+ baseline (-march=armv8.2-a+fp16+simd+dotprod+i8mm), so it assumes CPU features beyond ARMv8.0. That makes an Illegal instruction on Pi 4 expected.
Activity
yujonglee commentedon Apr 7, 2026
The current native build is compiled with an ARMv8.2+ baseline (
-march=armv8.2-a+fp16+simd+dotprod+i8mm), so it assumes CPU features beyond ARMv8.0. That makes anIllegal instructionon Pi 4 expected.asuzukosi commentedon May 3, 2026
@yujonglee are there any plans to include builds for ARM below 8.2 or should this issue be closed?
yujonglee commentedon May 3, 2026
@HenryNdubuaku thoughts? :)