pdf-icon

AI Pyramid Software Package Update

Note
The factory image has preconfigured the M5Stack APT repository. If you need to add it manually, refer to the following steps.
wget -qO /etc/apt/keyrings/StackFlow.gpg https://repo.llm.m5stack.com/m5stack-apt-repo/key/StackFlow.gpg
echo 'deb [arch=arm64 signed-by=/etc/apt/keyrings/StackFlow.gpg] https://repo.llm.m5stack.com/m5stack-apt-repo jammy ax650c' > /etc/apt/sources.list.d/StackFlow.list
  1. Run "apt update" to update the software list.
apt update
  1. View the list of available llm deb packages. Packages named in the format llm-model-name are model packages, while those named llm-name are functional unit packages.
apt list | grep llm-
  1. Use the apt command to install packages as needed, for example installing the llm-cosy-voice package. Note: Models will occupy a large amount of storage space, so it is recommended to install them on demand.
apt install llm-cosy-voice
  1. Package Descriptions

lib-llm

  • Provides the environment required for software operation.
apt install lib-llm

llm-sys

  • Provides the basic services of StackFlow.
apt install llm-sys

5. Functional Module Overview

llm-audio

  • Provides a unified sound card management service.
apt install llm-audio

llm-camera

  • Provides a unified camera management service.
apt install llm-camera

llm-kws

  • Provides a keyword spotting service.
apt install llm-kws

llm-asr

  • Provides a text-to-speech service.
apt install llm-asr

llm-llm

  • Provides local large language model services.
apt install llm-llm

llm-vlm

  • Provides local multimodal large model services.
apt install llm-vlm

llm-melotts

  • Provides text-to-speech services.
apt install llm-melotts

llm-cosy-voice

  • Provides voice cloning and text-to-speech services.
apt install llm-cosy-voice

llm-openai-api

  • Provides an OpenAI-compatible API service, which can be used for quick invocation of STT, TTS, and LLM/VLM.
apt install llm-openai-api
On This Page