HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Zen-Sherbert
Proteus-Attention
Python2025–2025
Zen-Sherbert / Proteus-Attention

Proteus-Attention

A custom attention framework aimed at maximum context, speed and usability. Featured with a triton kernel, and a couple of benchmarks.

2Distinct people
2Mentions
0Explicit recommenders
5GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A custom attention framework aimed at maximum context, speed and usability. Featured with a triton kernel, and a couple of benchmarks.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-11-04 11:36:04 UTC to 2025-11-05 02:13:54 UTC.

012025-11-04 11:00:00 UTC to 2025-11-04 12:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 4, 11:002025-11-04 12:00:00 UTC to 2025-11-04 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 13:00:00 UTC to 2025-11-04 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 14:00:00 UTC to 2025-11-04 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 15:00:00 UTC to 2025-11-04 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 16:00:00 UTC to 2025-11-04 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 17:00:00 UTC to 2025-11-04 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 18:00:00 UTC to 2025-11-04 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 4, 18:002025-11-04 19:00:00 UTC to 2025-11-04 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 20:00:00 UTC to 2025-11-04 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 21:00:00 UTC to 2025-11-04 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 22:00:00 UTC to 2025-11-04 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-04 23:00:00 UTC to 2025-11-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-05 00:00:00 UTC to 2025-11-05 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-05 01:00:00 UTC to 2025-11-05 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-11-05 02:00:00 UTC to 2025-11-05 03:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 5, 02:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 4, 11:002025-11-04 11:00:00 UTC2025-11-04 12:00:00 UTC110
Nov 4, 12:002025-11-04 12:00:00 UTC2025-11-04 13:00:00 UTC000
Nov 4, 13:002025-11-04 13:00:00 UTC2025-11-04 14:00:00 UTC000
Nov 4, 14:002025-11-04 14:00:00 UTC2025-11-04 15:00:00 UTC000
Nov 4, 15:002025-11-04 15:00:00 UTC2025-11-04 16:00:00 UTC000
Nov 4, 16:002025-11-04 16:00:00 UTC2025-11-04 17:00:00 UTC000
Nov 4, 17:002025-11-04 17:00:00 UTC2025-11-04 18:00:00 UTC000
Nov 4, 18:002025-11-04 18:00:00 UTC2025-11-04 19:00:00 UTC000
Nov 4, 19:002025-11-04 19:00:00 UTC2025-11-04 20:00:00 UTC000
Nov 4, 20:002025-11-04 20:00:00 UTC2025-11-04 21:00:00 UTC000
Nov 4, 21:002025-11-04 21:00:00 UTC2025-11-04 22:00:00 UTC000
Nov 4, 22:002025-11-04 22:00:00 UTC2025-11-04 23:00:00 UTC000
Nov 4, 23:002025-11-04 23:00:00 UTC2025-11-05 00:00:00 UTC000
Nov 5, 00:002025-11-05 00:00:00 UTC2025-11-05 01:00:00 UTC000
Nov 5, 01:002025-11-05 01:00:00 UTC2025-11-05 02:00:00 UTC000
Nov 5, 02:002025-11-05 02:00:00 UTC2025-11-05 03:00:00 UTC101

What Hacker News says

2 sources

Why stop at 1M tokens when you can have 10M?

To start us off, I'm going to make a ridiculous claim. On my 7800XT gaming GPU, using less than 3GB of VRAM for the buffer, I have built an architecture that can process a 10 million token context. This is not a joke. You can run it in a Google Colab notebook, on a free T4, and prove it to yourself right now: The Proteus Playground https://colab.research.google.com/github/Zen-Sherbert/Proteus-Attention/blob/main/… It runs flawlessly on both CUDA and ROCm. It works. With the proof-of-concept out of the way, here are the three core ideas that got me here. 1. DNA - Tokens have value. My journey started with a simple idea: tokens mean something. They have value. So why don't we use it? I built a system called DNA, where each attention "gate" learns a "taste" for certain tokens and pulls them in like gravity. The crazy part?
Read the rest
On a raw, untrained model, I found that 334 out of 500 tokens were already being caught by this system. It's a natural, emergent behavior. 2. The Alpha Slider - "Why can't I just change my model?" I hated that I couldn't just switch my model from dense, to sparse, to linear whenever I wanted. So, I built a custom Triton kernel to do exactly that. The result is a single knob called alpha: Dense, high-fidelity? alpha = 0.0. Balanced sub-quadratic? alpha = 0.3. Screaming-fast linear time? alpha = 1.0 and the attention mechanic goes brrrrrr. 3. Chunking & RoPE - "So I got rid of it." My new systems got me far, but the VRAM bottleneck was still a headache. So I got rid of it. The idea is simple: chunking. Break a massive context into small pieces, shunt them to system RAM, and use a tiny VRAM buffer for only the most important tokens. DNA tells us what's important. As a Hail Mary, I added RoPE to preserve where it came from. This combination creates contextual teleportation. It allows the model to create a perfect "highlight reel" and reason over it as if critical facts, separated by thousands of pages, were sitting right next to each other. It's your own little wormhole across data space. TL;DR: I built an extreme context system that costs less than Minecraft to run. Would love feedback, as I'm still exploring how far it can go. Github: https://github.com/Zen-Sherbert/Proteus-Attention/tree/main
2 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.