Integrate Whisper AI into AGL Voice Agent and Update Dependencies 60/30060/7
authorAnuj Solanki <anuj603362@gmail.com>
Wed, 3 Jul 2024 15:28:05 +0000 (17:28 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 30 Aug 2024 11:53:02 +0000 (11:53 +0000)
commit8607d696eca482e025a9ca30ee992707211d1f11
treeca4342a7db0465199119d1c24bf3e824a0f0a1c3
parent65f1ec44778eaa59c2c74bf5fbb22a670b6231a0
Integrate Whisper AI into AGL Voice Agent and Update Dependencies

V1:
  - Removed the following recipes from meta-offline-voiceagent:
    - python3-scipy
    - python3-scikit-learn
    - python3-openblas
    - python3-lapack
    - python3-numpy

  - Updated to use meta-python-ai layer for:
    - python3-scipy
    - python3-scikit-learn
    - python3-openblas
    - python3-lapack
    - python3-numpy
    - python3-pytorch

  - Added all the required recipes for Whisper AI:
    - Included recipes for Whisper AI base and tiny model

  - Updated recipes for:
    - python3-uvloop
    - python3-python-crfsuite

V2:
  - Remove vulkan from DISTRO_FEATURES as it has become coditional
    at upstream
  - Fix flutter_voiceassistant service
  - Update recipe of llvmlite to include the wheel for aarch64 also.

V3:
  - Fix llvmlite recipe and some patches
  - Removes rasa and its dependencies
  - Fix agl-service-voiceagent.service

Bug-AGL: SPEC-5200
Change-Id: I429e7d4b98fbbe1a4f8c1341ac8918d7d177b382
Signed-off-by: Anuj Solanki <anuj603362@gmail.com>
71 files changed:
meta-offline-voice-agent/README.md
meta-offline-voice-agent/conf/layer.conf
meta-offline-voice-agent/licenses/EULA [new file with mode: 0644]
meta-offline-voice-agent/licenses/INTELoneAPIDPCEULA [new file with mode: 0644]
meta-offline-voice-agent/licenses/ISSL [new file with mode: 0644]
meta-offline-voice-agent/licenses/LICENSE [new file with mode: 0644]
meta-offline-voice-agent/recipes-assistant/voiceagent-app/files/agl-app-flutter@flutter_voiceassistant.service [new file with mode: 0644]
meta-offline-voice-agent/recipes-assistant/voiceagent-app/flutter-voiceassistant_git.bb
meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb
meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service
meta-offline-voice-agent/recipes-blas/openblas/files/0001-Modify-makefile-for-yocto.patch [deleted file]
meta-offline-voice-agent/recipes-blas/openblas/openblas-native_0.3.20.bb [deleted file]
meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb [deleted file]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0001-Add-new-DG2-device-IDs-194.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0001-BiF-CMakeLists.txt-remove-opt-from-DEPENDS.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0001-Introduce-ARL-H-support-172.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0001-external-SPIRV-Tools-change-path-to-tools-and-header.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0001-fix-tblgen.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/0003-Improve-Reproducibility-for-src-package.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/files/intel-oneapi-runtime.conf [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/gmmlib_22.3.15.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-compute-runtime/allow-to-find-cpp-generation-tool.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-compute-runtime/disable-werror.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-compute-runtime/external-ocloc.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-compute-runtime_24.13.29138.7.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-graphics-compiler_1.0.16510.2.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/intel-oneapi-mkl_2024.0.0-49656.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/level-zero_1.15.8.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/onednn.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-devtools/recipes-intel/onednn/run-ptest [new file with mode: 0755]
meta-offline-voice-agent/recipes-devtools/recipes-intel/setup-intel-oneapi-env_2023.0.0-25370.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-lapack/lapack/lapack_%.bbappend [deleted file]
meta-offline-voice-agent/recipes-multimedia/ffmpeg/ffmpeg/av1_ordering_info.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-multimedia/ffmpeg/ffmpeg/vulkan_av1_stable_API.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-multimedia/ffmpeg/ffmpeg_6.1.%.bbappend [new file with mode: 0644]
meta-offline-voice-agent/recipes-multimedia/ffmpeg/ffmpeg_metawhisper.inc [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/llvmlite/files/LICENSE [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/numba/python3-numba_%.bbappend [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/python3-numpy/python3-numpy/0001-Disable-runtimelibdirs-for-cross-compile.patch [deleted file]
meta-offline-voice-agent/recipes-python/python3-numpy/python3-numpy/0001-Remove-using-library-directories-as-runtime-library-.patch [deleted file]
meta-offline-voice-agent/recipes-python/python3-numpy/python3-numpy_%.bbappend [deleted file]
meta-offline-voice-agent/recipes-python/python3-python-crfsuite/python3-python-crfsuite_0.9.10.bb [moved from meta-offline-voice-agent/recipes-python/python3-python-crfsuite/python3-python-crfsuite_0.9.9.bb with 64% similarity]
meta-offline-voice-agent/recipes-python/python3-rasa/files/0001-Structlog-setup.py-fix.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/python3-rasa/python3-ruamel.yaml.clib_0.2.7.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-rasa/python3-ruamel.yaml.clib_0.2.8.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/python3-rasa/python3-structlog_23.1.0.bb
meta-offline-voice-agent/recipes-python/python3-rasa/python3-uvloop_0.18.0.bb [moved from meta-offline-voice-agent/recipes-python/python3-rasa/python3-uvloop_0.17.0.bb with 75% similarity]
meta-offline-voice-agent/recipes-python/python3-scikit-learn/files/0001-hack-around-numpy-get_include-to-force-looking-in-ta.patch [deleted file]
meta-offline-voice-agent/recipes-python/python3-scikit-learn/python3-scikit-learn_0.24.2.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/files/0001-Allow-passing-flags-via-FARCH-for-mach.patch [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/files/static-lib.patch [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/python3-beniget_0.4.1.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/python3-pythran_0.11.0.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/python3-scipy-native_1.8.1.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-scipy/python3-scipy_1.8.1.bb [deleted file]
meta-offline-voice-agent/recipes-python/python3-threadpoolctl/python3-threadpoolctl_3.1.0.bb [deleted file]
meta-offline-voice-agent/recipes-python/pytorch/python3-pytorch_%.bbappend [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/tiktoken/python3-tiktoken-crates.inc [new file with mode: 0644]
meta-offline-voice-agent/recipes-python/tiktoken/python3-tiktoken_0.7.0.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-support/openblas/openblas_%.bbappend [new file with mode: 0644]
meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi/0001-Fixup-wrappers-for-compilation-with-openblas-0.3.27.patch [new file with mode: 0644]
meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb
meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-en-us_0.15.bb
meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb [new file with mode: 0644]
meta-offline-voice-agent/recipes-whisper/whisper/whisper_git.bb [new file with mode: 0644]
templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc
templates/feature/agl-offline-voice-agent/50_local.conf.inc