Who it is forAn ML engineer with a Linux GPU server who wants to test whether a model can keep user facts in its own memory instead of a long transcript.
The problemLong chat transcripts grow costly, and it is hard to tell whether a model retains earlier facts without resending the full context.
The outcomeA running SGLang server and a Python session where facts from earlier turns, such as a pet's name and age, are answered correctly after the plaintext context is cleared.
What you need first
- Linux server with NVIDIA CUDA and Python 3.11 or newer
- uv installed for the inference install step
- A complete local MemT-1.0-Nano checkpoint with BF16 weights, configuration and tokenizer assets
- Two GPUs for the Nano example in the README
- Write access to ./memt-state on the server for memory snapshots
Steps
- Run
cd inferencein a clone of the MemTensor/MemT-1.0 repository. - Run
uv pip install '.[server]'on the Linux GPU server. - Run
sh start_memt_nano.sh /models/MemT-1.0-Nanoand keep it running; it serves at http://127.0.0.1:30000. - In another terminal, run the Python connection code from the Quick Start, pointing model_path at the same checkpoint.
- Call
session.chat(..., enable_memory=True)with a fact in one turn, then ask a follow-up question that depends on that fact. (inferred, check the README)
Prompt for your agent
Use the MemTensor/MemT-1.0 repo to start the MemT-1.0-Nano server from /models/<checkpoint-folder> and run the Quick Start chat example. Expected output: a reply that restates the kitten name, age and favorite food from earlier turns. Verify that the answer names facts that were given only in the first message.
Caveat. The README requires a complete local checkpoint and a CUDA GPU setup, and it notes that the sample replies are illustrative rather than guaranteed output.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MemTensor/MemT-1.0 and "Run a chat that remembers facts across turns"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer