Skip to content

Unable to use inference server: Illegal instruction #1120

Open
@herobrine99dan

Description

@herobrine99dan

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

Hello, I was following the instructions to install Inference on a raspberry pi 4, I've got no issues installing all the packages with pip install inference and setting up the docker container, nevertheless after the server starts the docker container exits a few seconds later and the log i'm getting with docker logs is

/tmp/matplotlib is not a writable directory
Matplotlib created a temporary cache directory at /tmp/matplotlib-nbs311ay because there was an issue with the default path (/tmp/matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Illegal instruction

Environment

Inference: v0.44.1
OS: Debian GNU/Linux 12 (bookworm) aarch64
Device: raspberry pi 4
Python: 3.11.2

Minimal Reproducible Example

i'm following the official guide:
pip install inference-cli
inference server start

Additional

I've tried to install Inference on a raspberry pi 4, and then i've tried a clean installation on a raspberry pi 400, getting the same issue in both cases, i've also tried using an older version of docker. Nothing helped. Everything is up to date.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions