cactus-compute / cactus-compute/cactus

Illegal instruction on Raspberry Pi 4 (ARMv8)

Open
#561 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6k
Forks
501
Avg merge
1d 18h
Merged PRs (30d)
4

Description

## Environment
- 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
1. cactus build --python
2. cactus run Qwen/Qwen3-0.6B --precision INT4
3. 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?

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure on a Raspberry Pi 4 using `cactus build --python` and the two `cactus run` commands with INT4 precision. Compare the build and runtime assumptions for ARMv8.0 against Raspberry Pi 5; done means the listed models run without an illegal instruction or the supported-device limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, raspberry-pi
Domain
embedded-iot, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.