Skip to content

qwen3.8-27b as a chat-only profile (models.json "trainer": "none") - #21

Merged
FMXExpress merged 2 commits into
mainfrom
claude/optimistic-allen-i3bd3d
Nov 10, 2026
Merged

FMXExpress merged 2 commits into
mainfrom
claude/optimistic-allen-i3bd3d

Conversation

@FMXExpress

Copy link
Copy Markdown
Owner

Adds Qwen3.8-27B as a model you can chat with. Its memory is the stored facts and messages, retrieved into each prompt. It does not train facts into the weights.

Why chat-only

  • memagent's trainer: llama.cpp has no backward pass for Qwen3.8's Gated DeltaNet layers (or for SSM_CONV, SOLVE_TRI, CUMSUM), so the in-process trainer cannot train them. Upstream does not have them either.
  • Unsloth / Python: Unsloth advises against 4-bit training of the Qwen3.5 family. Its bf16 LoRA needs about 56 GB for the 27B, which is beyond a consumer card.
  • For memory trained into the weights, use qwen3-14b (0.967 answered from the weights on 30 facts).

Change

  • models.json "trainer": "none" marks a chat-only profile. With it:
    • training is off at startup, and the startup line says why;
    • the layout line reads "no training (a chat-only profile)";
    • /sleep and /nap explain that memory stays in the stored facts and messages;
    • the consolidator never starts a run, even with [consolidate] auto=1.
  • New qwen3.8-27b profile: Qwen3.8-27B Q4_K_M (17 GB), one 24 GB+ GPU. Reasoning is off, through the existing Mem.LlamaChat handling.
  • README: the model table lists qwen3-14b, gpt-oss-20b and qwen3.8-27b.

Test plan

  • make test-pascal
  • scripts/e2e_chatonly.sh passes on the CPU. It makes the tiny profile chat-only, then checks that facts are stored and listed, that no run starts and no adapter is written, and that /sleep and /nap say training is off.
  • The qwen3.8-27b profile loads: memagent --profile qwen3.8-27b --offline prints the chat-only startup lines.
  • Qwen3.8-27B chat on a GPU was checked in an earlier session: it answers and calls tools. This PR only turns training off.

Generated by Claude Code

A profile that no trainer can train keeps its memory in the stored facts and
messages, retrieved into each prompt: training is off at startup (and says
why), /sleep and /nap explain it, the consolidator never starts a run, and the
layout line reads "no training". qwen3.8-27b (Q4_K_M) uses it: llama.cpp has
no backward for its Gated DeltaNet layers, and Unsloth advises against 4-bit
training of the Qwen3.5 family. scripts/e2e_chatonly.sh passes on the CPU (tiny
made chat-only: facts stored and listed, no run, no adapter). README lists the
qwen3-14b, gpt-oss-20b and qwen3.8-27b profiles.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
@FMXExpress
FMXExpress merged commit 30e236c into main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants