Latest / AI & agents

llm-circuit-finder

github.com · Open source · Maintained

Duplicates layers in an LLM to test reasoning, without training

Visit github.com ↗Share

Stars
244
Forks
20
Open issues
2
Last commit
Found
8 months ago

GitHub figures as of . They are context, not a ranking.

llm-circuit-finder is a Python project that repeats a block of three or four layers in a language model to test whether reasoning improves, with no weight changes or training. The author reports gains on logic and math benchmarks for two models run on consumer AMD GPUs. The results are the author's own measurements.

Repository description on GitHub: “I replicated Ng's RYS method and found that duplicating 3 specific layers in Qwen2.5-32B boosts reasoning by 17% and duplicating layers 12-14 in Devstral-24B improves logical deduction from 0.22→0.76 on BBH — no training, no weight changes, just routing hidden states through the same circuit twice. ”

What it does

  • Finds contiguous blocks of layers whose repetition changes model output
  • Repeats layers in the forward pass with no weight changes or training
  • Reports gains on BBH logical deduction and math for two models
  • Tools included for running the layer experiments

Good for

  • Test whether repeating layers improves reasoning in a local model
  • Map candidate reasoning blocks in a transformer by layer
  • Repeat layer-duplication experiments on consumer AMD GPUs

Suits: ML researchers experimenting with transformer layer structure.

Worth knowing: The gains are the author's own measurements on two models.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw llm-circuit-finder on , when xlayn posted it to Show HN. GitHub listed no published releases for alainnothere/llm-circuit-finder when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 265 points, 80 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 265 points, 80 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: alainnothere/llm-circuit-finder
  2. Found: xlayn posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was llm-circuit-finder released?
No dated release record is available. Kip found it on Show HN on 18 Mar 2026.
Is llm-circuit-finder open source?
Its source is public on GitHub at alainnothere/llm-circuit-finder; check the repository for licence terms.
Is llm-circuit-finder free?
It is open source, so the code is free to read and run; check the licence for terms.
Is llm-circuit-finder still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryalainnothere/llm-circuit-finder
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-47431671. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.