NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

wyoming-openwakeword terminated by signal SIGILL (Illegal instruction) #358973

Open Elinvention opened 6 days ago

Elinvention commented 6 days ago

Describe the bug

wyoming-openwakeword started to crash with SIGILL.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p wyoming-openwakeword --run wyoming-openwakeword
  2. /tmp/nix-shell-271961-0/rc: line 3: 277326 Illegal instruction (core dumped) wyoming-openwakeword

Expected behavior

No crashes

Screenshots

Additional context

Metadata

- system: `"x86_64-linux"`
- host os: `Linux 6.6.63, NixOS, 24.11 (Vicuna), 24.11beta709319.20e70feebfdb`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.24.10`
- channels(root): `"home-manager-24.11.tar.gz, nixos-24.11-small, nixos-unstable"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Notify maintainers

@mweinelt


Note for maintainers: Please tag this issue in your PR.


Add a :+1: reaction to issues you find important.

mweinelt commented 6 days ago

Can you post your configuration? Is this a regression from 24.05 to 24.11? What CPU do you run this on? I suspect tensorflow now requires AVX CPU extensions.

Elinvention commented 6 days ago

Yes, it's a regression from 24.05 to 24.11. Indeed I'm using an old CPU (Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz) and it doesn't support AVX extensions, but as you suspected tensorflow now requires those extensions.

SomeoneSerge commented 6 days ago

PyPi

❯ nix path-info --derivation github:NixOS/nixpkgs/nixos-24.11#wyoming-openwakeword --recursive | grep tensorflow
[45.7 MiB DL]/nix/store/7jriah484029w7m5rnf0mjgqq07bw8s9-tensorflow_estimator-2.15.0-py2.py3-none-any.whl.drv
/nix/store/6h3v0mb1cx0grqmhizjg9a7jfn9vqfg8-python3.12-tensorflow-estimator-2.15.0.drv
/nix/store/9f7kqb69yj916mz050mjgj2v647n5qjb-tensorflow_cpu-2.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.drv
/nix/store/38hvm2cpx13vcnszrx3r5ra1ygh95vpq-python3.12-tensorflow-2.18.0.drv

❯ nix path-info --derivation github:NixOS/nixpkgs/nixos-24.05#wyoming-openwakeword --recursive | grep tensorflow
/nix/store/d66q5sh2fp6qdp69wwx3a2xmziar086m-tensorflow_estimator-2.11.0-py2.py3-none-any.whl.drv
/nix/store/62kz9wzp6diivxh8ab7l7gc5lgzcvxdg-python3.11-tensorflow-estimator-2.11.0.drv
/nix/store/5w169ckmwk0jfgsfrc0dv59di5smj21r-tensorflow-deps-merged.drv
/nix/store/ixj73jp45cdnx3p694gs3s9avd07fqfk-tensorflow-2.13.0-deps.tar.gz.drv
/nix/store/6sdqpx9d5hr89yz1gg8mncwhz6lm7qxp-tensorflow-2.13.0.drv
/nix/store/isjphw15ax682z95qrmsh92j108qy3p6-python3.11-tensorflow-2.13.0.drv