Firefly Open Source Community

Title: AIBOX-K3 SpacemiT AI Lab Usage [Print This Page]

Author: 799959745    Time: before yesterday 18:01
Title: AIBOX-K3 SpacemiT AI Lab Usage
Last edited by 799959745 In 6/3/2026 18:01 Editor

SpacemiT AI Lab
SpacemiT AI Lab is a web-based AI evaluation platform. A cloud K3 instance can be requested from a browser to evaluate model inference results and real performance data on a SpacemiT K3 AI CPU ¡ª zero configuration, instant access, and no hardware required.
K3 devices also include a built-in AI Lab desktop application for downloading models and running them locally.
Key CapabilitiesPlatform Support
Platform & OSSupported
K1 Buildroot❌ No
K1 OpenHarmony❌ No
K1 Bianbu LXQT/GNOME❌ No
K3 Buildroot❌ No
K3 OpenHarmony❌ No
K3 Bianbu LXQT/GNOME✅ Yes
ArchitectureSystem Architecture Diagram
Application StackDependent ServicesWorkflowsInstallation (K3 Local App)
System RequirementsInstallation
sudo apt update
sudo apt install spacemit-ailab spacemit-ai-gateway



The installer automatically configures the required systemd services.
Verify the Installation
# Check AI Gateway service status
systemctl status spacemit-ai-gateway

# Check the service endpoint
curl -s localhost:18790/healthz



Quick Start
1) Cloud Experience (Recommended)
No hardware required. Access the cloud platform directly:
Note: Each session has a maximum duration of 2 hours. The instance is automatically reclaimed when the session times out or the page is closed.
2) K3 Local App
Search for AI Lab in the system application menu, then launch it.
Tip: Right-click the app icon and select Add to Desktop, then mark it as trusted for quick access next time.
3) Interface Overview
After launch, the Model Center home page is displayed. It includes:
Features
Cloud Instance Management
1) Requesting an Instance
On the cloud platform home page, check the number of available instances, then click Try Now to obtain a dedicated K3 instance.
2) Session Time
After entering the Model Center, the top status bar shows the remaining session time (up to 2 hours). A warning appears before the session expires.
3) Releasing an Instance
Privacy notice: When an instance is released, the application automatically clears all user data generated during the session, including LLM conversation history, uploaded images, recordings, and audio temp files. All data is processed in memory only and is never persisted to disk.
Model Center
1) Browsing by Category
Click the category tabs at the top of the page to filter models:
2) Model Card Details
Each model card shows:
Downloading Models
Vision Models
Supported vision tasks:
TaskRepresentative models
Object detectionYOLOv8n/s/m, YOLOv11n/s/m, YOLOv5-Gesture, YOLOv5n-Face
Image segmentationYOLOv8n/s/m-seg series
Pose estimationYOLOv8n/s/m-pose series
Face recognitionArcFace-MobileFaceNet
Image classificationResNet50
Large Language Model Chat
Supported LLM models: Qwen2.5, Qwen3, Qwen3.5 series, and more.
Speech Recognition (ASR)
Speech Synthesis (TTS)
Voice Activity Detection (VAD)
Model Performance Dashboard
View per-model performance metrics for K3 hardware at the bottom of the home page:
MetricFull nameDescription
PP128 (token/s)Prompt ProcessingSpeed at which the model processes input prompts, measured over the first 128 tokens. Higher is better.
TG128 (token/s)Token GenerationSpeed at which the model generates output tokens, measured over subsequent 128 tokens. Higher is better.
RTFReal-Time FactorRatio of processing time to audio duration. RTF < 1 means real-time capable. Lower is better.
FPSFrames Per SecondNumber of image frames processed per second by vision models. Higher is better.
QuantizationQuantization typeModel compression precision (e.g., Q4_0, Q8_0, INT8, FP16). Lower precision means smaller size and faster speed.
Models can also be downloaded from this view:
Advanced Features
Auto-Start on Boot
Toggle the Auto-Start on Boot switch in the top bar so AI Lab starts automatically with the system, making it always accessible to other devices on the local network.

Language Switch
Click the language button (EN / Chinese) in the top-right corner to switch the interface language.

LAN Sharing
LAN sharing is enabled automatically when the app starts.
FAQ
App fails to start
# Check AI Gateway service status
systemctl status spacemit-ai-gateway

# Restart the service
sudo systemctl restart spacemit-ai-gateway

# Check for port conflicts
netstat -tulpn | grep 18790



Model download failsInference is slowLAN sharing is not accessible from other devicesHow do I view logs?
# Stream AI Gateway logs
journalctl -u spacemit-ai-gateway -f



How do I uninstall the app?
  1. sudo apt remove spacemit-ailab spacemit-ai-gateway
  2. # Optionally remove downloaded models
  3. rm -rf ~/.cache/models/
Copy the code


Supported Models
TypeRepresentative modelsFormat
LLMQwen2.5 / Qwen3 / Qwen3.5 seriesGGUF
VisionYOLOv5/v8/v11 series, ResNet50ONNX
ASRSenseVoice, Qwen3-ASRtar.gz
TTSMatcha-TTS (Chinese / English)tar.gz
VADSilero VADtar.gz
Support







Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1