Skip to content

Commit

Permalink
[utils/common] Check for AVX2 instead of AVX instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Oct 16, 2024
1 parent d6908b1 commit 48cd85f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Below is a list of the collected data _(please have a look to the [Ansible tempa
| `channel` | `stable` or `development` version of OVOS |
| `container` | OVOS installed into containers |
| `country` | Country where OVOS has been installed |
| `cpu_capable` | Is the CPU supports AVX or SIMD instructions |
| `cpu_capable` | Is the CPU supports AVX2 or SIMD instructions |
| `display_server` | Is X or Wayland are used as display server |
| `extra_skills_feature` | Extra OVOS's skills enabled during the installation |
| `gui_feature` | GUI enabled during the installation |
Expand Down
6 changes: 3 additions & 3 deletions utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ function detect_sound() {
# Check for specific CPU instruction set in order to leverage TensorFlow
# and/or ONNXruntime. The exported variable will be used within the
# Ansible playbook to disable certain wake words and VAD plugin requiring
# these features if AVX or SIMD are not detected.
# these features if AVX2 or SIMD are not detected.
function detect_cpu_instructions() {
echo -ne "➤ Detecting AVX/SIMD support... "
if grep -q -i -E "avx|simd" /proc/cpuinfo; then
echo -ne "➤ Detecting AVX2/SIMD support... "
if grep -q -i -E "avx2|simd" /proc/cpuinfo; then
export CPU_IS_CAPABLE="true"
else
export CPU_IS_CAPABLE="false"
Expand Down

0 comments on commit 48cd85f

Please sign in to comment.