From 8607d696eca482e025a9ca30ee992707211d1f11 Mon Sep 17 00:00:00 2001 From: Anuj Solanki Date: Wed, 3 Jul 2024 17:28:05 +0200 Subject: 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 --- .../recipes-whisper/whisper-model/openai-whisper-tiny.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb (limited to 'meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb') diff --git a/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb b/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb new file mode 100644 index 00000000..19acc727 --- /dev/null +++ b/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-tiny.bb @@ -0,0 +1,15 @@ +SUMMARY = "OpenAI Whisper tiny model" +HOMEPAGE = "https://github.com/openai/whisper" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/LICENSE;md5=b1b8ea5cbbe899304ac6566613a3b74e" + +SRC_URI = "https://openaipublic.azureedge.net/main/whisper/models/65147644a518d12f04e32d6f3b26facc3f8dd46e5390956a9424a650c0ce22b9/tiny.pt" +SRC_URI[sha256sum] = "65147644a518d12f04e32d6f3b26facc3f8dd46e5390956a9424a650c0ce22b9" + +do_install(){ + install -d ${D}/usr/share/whisper + cp -R ${WORKDIR}/tiny.pt ${D}/usr/share/whisper/ +} + +FILES:${PN} = " /usr/share/whisper /usr/share/whisper/tiny.pt " + -- cgit 1.2.3-korg