Skip to content
Computer vision

Qwen3.5-0.8B-v15

Qwen3.5 with episodic memory and "sleep"

3 min readupdated

LTM-Lab ported the compact multimodal model Qwen3.5-0.8B (0.87B parameters) to the Qwen3_5V15ForConditionalGeneration architecture, giving it long-term episodic memory. The base model weights remain bit-for-bit untouched—no fine-tuning or quantization was performed—while adding memory management scripts at the KV-cache (saved attention states) and recurrent layer levels. Unlike the previous V14 release, this version drops the trainable "world model" and introduces a "sleep" mode: when the server is idle, the model reviews accumulated records on its own, merges duplicates, flags outdated facts, and links notes about the same entities. This setup is handy for developers experimenting with local assistants that retain context across past conversations without RAG or vector databases.

Key features

  • Memory without RAG or training: while reading a prompt, attention keys and values are chunked into events of up to 128 tokens and saved to disk along with a recurrent state engram, then injected back during subsequent queries without inserting text into the prompt.
  • Idle "sleep" cycle: after 10 minutes of inactivity (by default), the server kicks off a background review—replaying recent records, merging duplicates, archiving contradicted facts, and building "bridges" between related events.
  • Ready-to-run SGLang inference: supported via the modified lovewin10/sglang-v15 Docker image featuring an OpenAI-compatible API, CUDA graph, prefix cache, and EAGLE speculative decoding.
  • Honest 0.8B limitations: at this small parameter count, the model acts as a fairly weak judge during its own "sleep" phase (and may mistakenly archive unrelated notes), so the release is positioned as a lightweight testbed for the mechanism.

What you can do

  • Build a local bot with cross-session memory: spin up a Docker container with a mounted /memory folder so the model remembers facts from one chat and recalls them in a brand-new session, even after a server restart.
  • Test recall and "sleep" in Python: load the model directly via transformers with trust_remote_code=True and trigger model.sleep() manually between conversations while tracking hits via memory_trace.

Example

from transformers import AutoModelForImageTextToText, AutoProcessor
import torch

path = 'LTM-Lab/Qwen3.5-0.8B-v15'
model = AutoModelForImageTextToText.from_pretrained(path, trust_remote_code=True, dtype=torch.bfloat16).to('cuda').eval()
processor = AutoProcessor.from_pretrained(path)
# После нескольких вызовов ask(...) можно запустить цикл консолидации памяти:
report = model.sleep()
Read moreDetails
Memory benchmark (bf16, RTX PRO 6000 Blackwell): single facts — 9/10, across 48 distractor sessions — 7/10, across 248 sessions — 6/10, two-hop retrieval after sleep — 6/6 (5/6 before sleep), fact updates after sleep — 2/6.
Hardware and requirements: SGLang requires a GPU supporting flashinfer or fa3 backends (TP/PP/DP = 1) and a fast SSD for the /memory store; running via transformers also works on CPU.
Important limitation: the /memory store is shared across the entire server instance with no per-user isolation, and the model's own generated responses are not written to memory until they appear in a subsequent prompt.
Discuss Telegram 0 53

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 1.6 GB · ready files2.3 GB
  • FP8 / INT8recommendedweights 0.8 GB1.4 GB
  • 4-bitweights 0.5 GB1.0 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # LTM-Lab/Qwen3.5-0.8B-v15
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download LTM-Lab/Qwen3.5-0.8B-v15 --local-dir ~/models/Qwen3.5-0.8B-v15
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Qwen3.5-0.8B-v15
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

  1. Qwen3.5-0.8B-Basefamily root
  2. Qwen3.5-0.8B
  3. Qwen3.5-0.8B-v15

New posts about versions of Qwen3.5-0.8B-Base (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 9All on Hugging Face
Merges 1All on Hugging Face

About the model

LTM-Lab/Qwen3.5-0.8B-v15
Author
LTM-Lab
Category
Computer vision
Released
Posted

On NeyroLearn

Hugging Face

530

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Language models

Onyx-2B

Onyx-2B
Language models

xevyo-01

xevyo-01