---
title: lola2
canonical_url: "https://www.modelscope.ai/studios/mmdas37/lola2"
md_url: "https://www.modelscope.ai/studios/mmdas37/lola2.md"
repository: mmdas37/lola2
chinese_name: COLIBRI-TRIAL
last_updated: 2026-10-27
sdk_type: gradio
sdk_version: 6.29.1
downloads: 0
stars: 1
---

# lola2

> lola2 - An interactive demo by mmdas37 on ModelScope. Basic chat on Colibri (pure-C MoE engine) + DeepSeek-V4.1-Flash, downloaded to /mnt/workspace on first start.

mmdas37/lola2 is an interactive demo (Studio) on ModelScope. built with gradio 6.29.1. also known as 「COLIBRI-TRIAL」.

- **Repository**: mmdas37/lola2
- **SDK**: gradio
- **SDK version**: 6.29.1
- **Downloads**: 0
- **Stars**: 1
- **Last updated**: 2026-10-27

Source: https://www.modelscope.ai/studios/mmdas37/lola2

---

# COLIBRI-TRIAL

Basic chat on **Colibri** (pure-C MoE inference engine) serving **DeepSeek-V4.1-Flash**
(the checkpoint Colibri's `docs/deepseek-v41.md` names and reads natively), running as a
ModelScope Studio on the international site.

## What happens on first start

1. Gradio UI binds `0.0.0.0:7860` immediately and shows live bootstrap status.
2. `colibri_bootstrap.py` (background thread) then:
   - downloads the Colibri v2.0.0 prebuilt engine (Linux x86_64) into `/mnt/workspace/colibri-app/`;
   - downloads `deepseek-ai/DeepSeek-V4.1-Flash` (~510 GB) into `/mnt/workspace/models/`
     with a multi-connection range-request downloader (chunk-level resume across restarts);
   - runs the one-time `prepare_dsv41.py` engram sidecar step (`transformers` + `sympy`);
   - starts `coli serve` (OpenAI-compatible API) on `127.0.0.1:8000`.
3. The UI chat talks to that API with SSE streaming.

Everything is stored under `/mnt/workspace` (persistent across restarts). Interrupted
downloads resume from where they stopped.

## Configuration

- `MODEL_REPO` (plaintext variable, default `deepseek-ai/DeepSeek-V4.1-Flash`) — model to download from modelscope.ai.
  Fallback if disk is tight: `deepseek-ai/DeepSeek-V4-Flash-0731` (~167 GB).
- `DL_WORKERS` — parallel connections per file (default 8).
- `COLI_MODEL_ID` — id the API exposes (default `deepseek-v4.1-flash-colibri`).

## Notes

- Colibri streams the 552B-MoE's experts from disk: chat is slow (fractions of a
  token/s to ~1 tok/s) but correct; speed scales with disk bandwidth.
- The engine is CPU-first; the optional Vulkan GPU path is off by default.
- lola2 (previous studio) cannot be deleted via API — use the web console.
