This repository was archived by the owner on Sep 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
This repository was archived by the owner on Sep 8, 2024. It is now read-only.
dev_setup.sh incorrectly excludes certain ARM cpu's for avx query. #2999
Copy link
Copy link
Closed
Description
Describe the bug
dev_setup.sh incorrectly excludes certain ARM cpu's for avx query.
Line 179 in 9e9f2f7
if ! grep -q avx /proc/cpuinfo && [[ ! $(uname -m) == 'arm'* ]]; then |
To Reproduce
Steps to reproduce the behavior:
- Run dev_setup.sh on an aarch64 platform
Expected behavior
avx query would recognize this is an arm platform and move on.
Log files
pi@raspberrypi:~/mycroft-core $ bash dev_setup.sh
Welcome to Mycroft!
This script is designed to make working with Mycroft easy. During this
first run of dev_setup we will ask you a few questions to help setup
your environment.
The Precise Wake Word Engine requires the AVX instruction set, which is
not supported on your CPU. Do you want to fall back to the PocketSphinx
engine? Advanced users can build the precise engine with an older
version of TensorFlow (v1.13) if desired and change use_precise to true
in mycroft.conf.
Y)es, I want to use the PocketSphinx engine or my own.
N)o, stop the installation.
Choice [Y/N]: N - quit the installation
pi@raspberrypi:~/mycroft-core $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2835
Revision : b03114
Serial : 10000000f328eb95
Model : Raspberry Pi 4 Model B Rev 1.4
pi@raspberrypi:~/mycroft-core $ uname -m
aarch64
Environment (please complete the following information):
- Device type: RPi4
- OS: Debian ARM64
- Mycroft-core version: 21.08
Metadata
Metadata
Assignees
Labels
No labels