r/OpenSourceeAI • • Sep 09 '25

MBZUAI Researchers Release K2 Think: A 32B Open-Source System for Advanced AI Reasoning and Outperforms 20x Larger Reasoning Models

Thumbnail
marktechpost.com
59 Upvotes

K2 Think, developed by MBZUAI and G42, is a 32B-parameter open reasoning system that combines long chain-of-thought supervised fine-tuning, reinforcement learning with verifiable rewards, agentic planning, test-time scaling, and wafer-scale inference optimizations. Despite its smaller size, it achieves frontier-level results—scoring 90.83 on AIME’24 and 81.24 on AIME’25—while maintaining efficiency, reducing token usage by up to 11.7%, and delivering ~2,000 tokens per second on Cerebras hardware. Released with full transparency, including weights, training data, and code, K2 Think demonstrates how optimized training and inference pipelines can make mid-scale models competitive with much larger systems....

full analysis: https://www.marktechpost.com/2025/09/09/mbzuai-researchers-release-k2-think-a-32b-open-source-system-for-advanced-ai-reasoning-and-outperforms-20x-larger-reasoning-models/

paper: https://k2think-about.pages.dev/assets/tech-report/K2-Think_Tech-Report.pdf

model on hugging face: https://huggingface.co/LLM360/K2-Think

model on github: https://github.com/MBZUAI-IFM/K2-Think-SFT

direct access: https://www.k2think.ai/k2think


r/OpenSourceeAI • • Sep 10 '26

I’m building an open-source tool for exploring how transformer models work — looking for feedback and contributors

55 Upvotes

I’ve been working on TokenPrint, an open-source project aimed at making transformer and LLM internals easier to explore.

The idea is to go beyond static architecture diagrams and let people interact with things like tokens, embeddings, attention, hidden states, inference steps, KV cache, model architecture, and other internal model data through an interactive interface.

The project has started getting more attention recently, and we’re now at 65+ GitHub stars. More importantly, people have started opening issues, suggesting improvements, and discussing where the project could go.

That made me realize that I don’t want TokenPrint to become something I build alone.

I’d really like to get more people from the open-source/LLM community involved — especially people who want to:

  • pick up good first issues

  • work on more advanced Python/PyTorch/Transformers problems

  • improve the React/Three.js visualization side

  • work with GGUF/llama.cpp and local LLMs

  • improve the UI/UX

  • experiment with new ways of visualizing model behavior

  • suggest ideas that I may not have considered

There are already issues ranging from relatively small fixes to deeper architectural and research-oriented work.

I’m especially interested in new ideas and criticism, not just pull requests. If you think something is missing, poorly designed, or could be approached differently, I’d genuinely like to hear it.

The repository is here:

https://github.com/Sudharsanselvaraj/Token-Print

I’m posting this here because I’d much rather build this with an open-source community than keep adding features in isolation.

Would be interested to hear from people working on similar tools too — especially what you think is currently missing from the ecosystem for understanding and debugging LLMs.


r/OpenSourceeAI • • Mar 15 '26

MaximusLLM: I built a framework to train/scale LLMs on "potato" hardware (Single T4)

Post image
55 Upvotes

Hi everyone,

I have spent the last few months obsessed with trying to pretrain LLMs on hard-constrained hardware.

If you try to train a model with a large vocabulary (like Gemma’s 260k tokens) or long context on a consumer GPU, you usually hit an "Out of Memory" (OOM) error immediately.

I built MaximusLLM to solve this using some "under-the-hood" math that bypasses standard hardware limits.

A list of things implemented:

  • A "Ghost Logit" Loss: Instead of calculating every single word in a massive vocabulary (which kills VRAM), I derived a way to "simulate" the math. It’s 17.5x faster and uses 40% less VRAM while retaining 96% of accuracy (compared to Liger Kernel)

  • Smart Memory (RandNLA): Usually, the more you talk to an AI, the slower it gets. This uses a compression trick (Kronecker Sketching) to keep the "gist" of the conversation in a tiny memory footprint while keeping the important details perfect.

  • Native RAG: It’s built to work with Matryoshka embeddings out of the box, making it much easier to build search-based AI.

I managed to get this all running and converging on a single Kaggle T4 GPU.

I’m looking for feedback from the community, especially if you're interested in the math behind the optimizations or if you just want to see how to squeeze more performance out of limited compute.

Repo: https://github.com/yousef-rafat/MaximusLLM


r/OpenSourceeAI • • Jul 31 '25

Tencent just dropped HunyuanWorld-1.0, world's first open source 3D world generator

55 Upvotes

r/OpenSourceeAI • • 28d ago

TextFold: an open-source take on Stretchtext, with the original document still one click away

54 Upvotes

Ted Nelson described stretchtext in 1967. I've been trying to bring that idea to the documents I actually read: start with less on the page, then open the detail where I need it.

The result is TextFold. I'm its developer, and this is a short demo of the reading interaction and the idea behind it. Web articles, papers, PDF and Word documents can all go through the reader.

One decision I care about is keeping the source wording distinguishable from what a model writes. Full keeps the original paragraph. Brief selects one to three original sentences. Key, Takeaway and Topic use AI-written text. Each paragraph can be expanded independently, and the prepared levels are cached so zooming doesn't need another model call.

TextFold runs on your computer. You choose the model that prepares the layers: Ollama for local processing, or a hosted provider. If you choose a hosted model, the document text is sent there. Shorter layers can lose nuance, and extraction can be imperfect, especially with complex PDFs. I still want it to be easy to check the original.

The reader is Apache 2.0. There are macOS and Windows apps, or you can run:

python3 -m pip install textfold

python3 -m textfold serve

Then open http://localhost:3017 and connect a model.

Source and full setup: https://github.com/chenxiachan/textfold

Prepared examples: https://chenxiachan.github.io/textfold/gallery/

I'd appreciate feedback on which details should stay visible as a paragraph gets shorter, especially when a local model prepares the layers.


r/OpenSourceeAI • • Mar 25 '26

I stopped paying $100+/month for AI coding tools, this cut my usage by ~70% (early devs can go almost free)

54 Upvotes

Open source Tool: https://github.com/kunal12203/Codex-CLI-Compact
Better installation steps at: https://graperoot.dev/#install
Join Discord for debugging/feedback: https://discord.gg/YwKdQATY2d

I stopped paying $100+/month for AI coding tools, not because I stopped using them, but because I realized most of that cost was just wasted tokens. Most tools keep re-reading the same files every turn, and you end up paying for the same context again and again.

I've been building something called GrapeRoot(Free Open-source tool), a local MCP server that sits between your codebase and tools like Claude Code, Codex, Cursor, and Gemini. Instead of blindly sending full files, it builds a structured understanding of your repo and keeps track of what the model has already seen during the session.

Results so far:

  • 500+ users

  • ~200 daily active

  • ~4.5/5★ average rating

  • 40–80% token reduction depending on workflow

    • Refactoring → biggest savings

    • Greenfield → smaller gains

We did try pushing it toward 80–90% reduction, but quality starts dropping there. The sweet spot we’ve seen is around 40–60% where outputs are actually better, not worse.

What this changes:

  • Stops repeated context loading

  • Sends only relevant + changed parts of code

  • Makes LLM responses more consistent across turns

In practice, this means:

  • If you're an early-stage dev → you can get away with almost no cost

  • If you're building seriously → you don’t need $100–$300/month anymore

  • A basic subscription + better context handling is enough

This isn’t replacing LLMs. It’s just making them stop wasting tokens and yeah! quality also improves (https://graperoot.dev/benchmarks) you can see benchmarks.

How it works (simplified):

  • Builds a graph of your codebase (files, functions, dependencies)

  • Tracks what the AI has already read/edited

  • Sends delta + relevant context instead of everything

Works with:

  • Claude Code

  • Codex CLI

  • Cursor

  • Gemini CLI

Other details:

  • Runs 100% locally

  • No account or API key needed

  • No data leaves your machine

If anyone’s interested, happy to go deeper into how the graph + session tracking works, or where it breaks. It’s still early and definitely not perfect, but it’s already changed how we use AI tools day to day.


r/OpenSourceeAI • • Apr 01 '26

No need to purchase a high-end GPU machine to run local LLMs with massive context.

51 Upvotes

I have implemented a turboquant research paper from scratch in PyTorch—and the results are fascinating to see in action!

Code:

https://github.com/kumar045/turboquant_implementation

Please give it a star.

When building Agentic AI applications, handling massive context windows means inevitably hitting a wall with KV cache memory constraints. TurboQuant tackles this elegantly with a near-optimal online vector quantization approach, so I decided to build it and see if the math holds up.

The KV cache is the bottleneck for serving LLMs at scale. TurboQuant gives 6x compression with zero quality loss:

6x more concurrent users per GPU

Direct 6x reduction in cost per query

6x longer context windows in the same memory budget

No calibration step — compress on-the-fly as tokens stream in

8x speedup on attention at 4-bit on H100 GPUs (less data to load from HBM)

At H100 prices (~$2-3/hr), serving 6x more users per GPU translates to millions in savings at scale.

Here is what I built:

Dynamic Lloyd-Max Quantizer: Solves the continuous k-means problem over a Beta distribution to find the optimal boundaries/centroids for the MSE stage.

1-bit QJL Residual Sketch:

Implemented the Quantized Johnson-Lindenstrauss transform to correct the inner-product bias left by MSE quantization—which is absolutely crucial for preserving Attention scores.

How I Validated the Implementation:

To prove it works, I hooked the compression directly into Hugging Face’s Llama-2-7b architecture and ran two specific evaluation checks (screenshots attached):

The Accuracy & Hallucination Check:

I ran a strict few-shot extraction prompt. The full TurboQuant implementations (both 3-bit and 4-bit) successfully output the exact match ("stack"). However, when I tested a naive MSE-only 4-bit compression (without the QJL correction), it failed and hallucinated ("what"). This perfectly proves the paper's core thesis: you need that inner-product correction for attention to work!

The Generative Coherence Check:

I ran a standard multi-token generation. As you can see in the terminal, the TurboQuant 3-bit cache successfully generated the exact same coherent string as the uncompressed FP16 baseline.

The Memory Check:

Tracked the cache size dynamically. Layer 0 dropped from ~1984 KB in FP16 down to ~395 KB in 3-bit—roughly an 80% memory reduction!

A quick reality check for the performance engineers:

This script shows memory compression and test accuracy degradation. Because it relies on standard PyTorch bit-packing and unpacking, it doesn't provide the massive inference speedups reported in the paper. To get those real-world H100 gains, the next step is writing custom Triton or CUDA kernels to execute the math directly on the packed bitstreams in SRAM.

Still, seeing the memory stats drastically shrink while maintaining exact-match generation accuracy is incredibly satisfying.

If anyone is interested in the mathematical translation or wants to collaborate on the Triton kernels, let's collaborate!

Huge thanks to the researchers at Google for publishing this amazing paper.

Now no need to purchase high-end GPU machines with massive VRAM just to scale context.


r/OpenSourceeAI • • Feb 16 '26

AI agents are just microservices. Why are we treating them like magic?

49 Upvotes

15 years in infra and security.now managing EKS clusters and CI/CD pipelines. I've orchestrated containers, services, deployments the usual.

Then I started building with AI agents. And it hit me everyone's treating these things like they're some brand new paradigm that needs brand new thinking. They're not. An agent is just a service that takes input, does work, and returns output. We already know how to handle this.

We don't let microservices talk directly to prod without policy checks. We don't deploy without approval gates. We don't skip audit logs. We have service meshes, RBAC, circuit breakers, observability. We solved this years ago.

But for some reason with AI agents everyone just… yolos it? No governance, no approval flow, no audit trail. Then security blocks it and everyone blames compliance for "slowing down innovation."

So I built what I'd want if agents were just another service in my cluster. An open source control plane. Policy checks before execution. YAML rules. Human approval for risky actions. Full audit trail. Works with whatever agent framework you already use.

github.com/cordum-io/cordum

Am I wrong here? Should agents need something fundamentally different from what we already do for services, or is this just an orchestration problem with extra steps?


r/OpenSourceeAI • • Sep 18 '25

Alibaba Releases Tongyi DeepResearch: A 30B-Parameter Open-Source Agentic LLM Optimized for Long-Horizon Research

Thumbnail
marktechpost.com
48 Upvotes

Tongyi DeepResearch-30B-A3B is an open-source agentic MoE model (~30.5B total, ~3–3.3B active) built for long-horizon web research. It combines a 128K context window with dual rollout modes—ReAct for intrinsic tool use and IterResearch “Heavy” for test-time scaling—backed by an automated agentic data engine (CPT→SFT) and on-policy RL using GRPO with token-level gradients. Reported results show strong performance on deep-research suites (HLE 32.9; BrowseComp 43.4 EN/46.7 ZH; xbench-DeepSearch 75). Weights, inference/eval scripts, and licensing are released under Apache-2.0.....

full analysis: https://www.marktechpost.com/2025/09/18/alibaba-releases-tongyi-deepresearch-a-30b-parameter-open-source-agentic-llm-optimized-for-long-horizon-research/

model on hugging face: https://huggingface.co/Alibaba-NLP/Tongyi-DeepResearch-30B-A3B

github page: https://github.com/Alibaba-NLP/DeepResearch?tab=readme-ov-file

technical details: https://tongyi-agent.github.io/blog/introducing-tongyi-deep-research/


r/OpenSourceeAI • • Sep 20 '26

Jevify: super simple way to serve LLMs as a Jev-like endpoint

Thumbnail
github.com
46 Upvotes

If anyone's interested in a local alternative to Jev, then Jevify is for you.

Jevify makes a Jev-like endpoint out of any local model. I made it to help me compare the quality of Jev's output vs other small models I can run in my homelab.

Jevify was built with local models in mind, but it works with any openai-compatible endpoints.

Super simple to use. Bring your GGUFs and have fun!

Jevify gives you a Jev-style API on top of a model you already run.

Point it at any llama.cpp or vLLM endpoint. Each answer is read straight off the model's next-token distribution.

YOU pick your model, context window, hardware etc.

It works, and it is fast.

MIT Licensed. Available on pip: uv tool install jevify


r/OpenSourceeAI • • May 02 '26

Used AI to build a real estate deal analyzer as a non-developer... the product thinking conversations were more valuable than the coding ones

Post image
46 Upvotes

MSBA grad student here. Built offerread.ai over the past two weeks using various LLM's as my primary tools— not just for code but for working through the actual decision logic.

The interesting AI-assisted part wasn't "write me a function." It was conversations like: how do you weight cash flow vs appreciation signals in markets where cash flow math is basically useless? How do you build a confidence score that's honest about data uncertainty without making users distrust the whole tool?

The result pulls live market data on any US residential address and gives a plain English investment verdict. Free to try, no account needed.

Curious what this community thinks about using AI for product logic vs just code generation where do you find it most valuable?

Would greatly appreciate feedback, can do deal/investment analysis on any real estate property, drop an address in the comments!

Built this — offerread.ai


r/OpenSourceeAI • • 4d ago

Opencomputer - an open source, self hostable alternative to Devin

Thumbnail
github.com
45 Upvotes

Hi r/OpenSourceAI - I'm one of the founders of OpenComputer.

OpenComputer is an open source cloud coding agent for teams that can run in your own cloud account (AWS, GCP, Azure).

We run the agent harness and the sandbox on the same durable VM (architecture in the docs [1]). First commit lands in 24s; the alternatives we benchmarked took 53-72s (benchmarks below [2]).

Two other choices:

- One VM per team, scalable horizontally. Sessions are isolated in git worktrees. - Session files are backed up to a repo after every turn, so any session can resume on another VM.

We noticed that past ~640 session-hours a month, one always-on 4 vCPU VM is cheaper than per-session E2B sandboxes, for example. So at scale, this setup would not only be faster than current SOTA coding agents, but also more cost-efficient.

Feel free to try via cloud for free or self host. We would love any and all feedback, and happy to answer any questions! Full demo below [3].

[1]: https://docs.opencomputer.dev/getting-started/architecture

[2]: https://opencomputer.dev/blog/cloud-agents-as-fast-as-local/

[3]: https://x.com/IgorZIJ/status/2121309785882591711


r/OpenSourceeAI • • Jul 30 '25

Open-Source Whisper Flow Alternative: Privacy-First Local Speech-to-Text for macOS

45 Upvotes

  Hi Reddit! 👋

  I'm excited to share Dial8 - an open-source, privacy-first speech-to-text app for

  macOS that runs entirely on your device. Think of it as a local alternative to

  Whisper Flow, but with your data never leaving your Mac.

Video walkthough here: https://youtu.be/oMfGUx8dFYg

  What makes Dial8 different:

  •   🔒 100% Local Processing - Everything runs on-device using optimized Whisper models. Your voice data never touches the cloud.

  •   🚀 Native macOS Experience - Built specifically for Mac with deep OS integration. Works seamlessly with any app - emails, messages, documents, you name it.

  •   🌍 100+ Languages - Accurate transcription across multiple languages and accents, with real-time translation capabilities (beta).

  •   ⚡ Optimized Performance - Designed for Apple Silicon, using minimal system resources while delivering lightning-fast transcription.

  Why I built this:

  I was frustrated with cloud-based transcription services that compromise privacy and

  require constant internet connectivity. I wanted something that matched the UX of

  premium services but kept everything local and under user control.

  Join our community!

  This is just the beginning. I'm building this in the open and would love your help to

   make it even better:

  Whether you're interested in contributing code, testing new features, suggesting

  improvements, or just want a solid local transcription tool - I'd love to have you as

   part of the community.

  The goal is to build something that rivals commercial offerings while staying true to

   open-source and privacy principles. Together, we can create the speech-to-text tool

  that respects user privacy and delivers an amazing experience.

  Download: https://dial8.ai

  I love to hear your thoughts and feedback! What features would you like to see?

  How can we make this even better?

  ---

  P.S. - Currently macOS only (Apple Silicon), but open to expanding platform support 

  based on community interest!


r/OpenSourceeAI • • May 26 '26

QMind v2.0 — Quantum-Inspired AI Reasoning System (MIT License, Python)

Thumbnail
gallery
44 Upvotes

QMind applies real quantum mechanics math — superposition, interference, and wavefunction collapse — to AI reasoning on a regular computer. No quantum hardware, no cloud, no API keys.

What makes it different from standard AI: instead of following one reasoning path, it explores many simultaneously. Paths that agree reinforce each other. Paths that contradict cancel out. The final answer emerges from probability, exactly like quantum measurement.

What's inside:

  • 15 cognitive subsystems — 8 inference modes, 5-tier memory, curiosity engine, contradiction manager, meta-cognition

  • Persistent knowledge graph (NetworkX + GraphML) with quantum amplitude mechanics

  • Autonomous reasoning — detects its own knowledge gaps and generates questions

  • Emergent concept synthesis — spots patterns and coins new concepts

  • Fully offline, deterministic, explainable

Built in Python using NetworkX, NumPy, QuTiP, scikit-learn. MIT License. All dependencies free and open source.

https://github.com/Neo-Unknown/QMind-Project-Folder.git


r/OpenSourceeAI • • Mar 16 '26

Benchmarked 15 open-source SLMs for fine-tuning: Qwen3-8B wins on accuracy, Liquid AI's LFM2-350M wins on tunability, and a 4B model beats a 120B teacher on 8/9 tasks

Post image
42 Upvotes

The open-source SLM landscape has gotten crowded. Qwen3, Llama 3.x, Gemma 3, SmolLM2, and now Liquid AI's LFM2 all offer models in the 0.1B-8B range. If you're picking a base model for fine-tuning, how do you choose? We ran a systematic benchmark to find out.

Setup: 15 models fine-tuned across 9 tasks (classification, extraction, document understanding, open/closed-book QA, tool calling). All trained with identical hyperparameters: 4 epochs, lr 5e-5, LoRA rank 64, 10k synthetic training examples per task from a 120B+ teacher. Results aggregated using rank-based averaging with 95% CIs.

Models tested:

  • Qwen3: 8B, 4B-Instruct-2507, 1.7B, 0.6B

  • Llama: 3.1-8B-Instruct, 3.2-3B-Instruct, 3.2-1B-Instruct

  • LFM2 (Liquid AI): 350M, 1.2B, 2.6B-Exp, 2.5-1.2B-Instruct

  • SmolLM2: 1.7B-Instruct, 135M-Instruct

  • Gemma 3: 1b-it, 270m-it

Results: best fine-tuned performance

ModelAvg Rank95% CI
Qwen3-8B2.33±0.57
Qwen3-4B-Instruct-25073.33±1.90
Llama-3.1-8B-Instruct4.11±2.08
Llama-3.2-3B-Instruct4.11±1.28
Qwen3-1.7B4.67±1.79
Qwen3-0.6B5.44±2.60

Qwen3 dominates, taking 4 of the top 6 spots. Llama holds strong at #3-4, and notably the 3B Llama matches the 8B variant with a tighter confidence interval.

Results: most tunable (biggest improvement from fine-tuning)

ModelAvg Rank95% CI
LFM2-350M2.11±0.89
LFM2-1.2B3.44±2.24
LFM2.5-1.2B-Instruct4.89±1.62

Liquid AI's LFM2 sweeps the top 3. LFM2-350M is particularly impressive: 350M parameters, yet it improves from fine-tuning more consistently than models 20x its size. The tight CI (±0.89) means this holds across all 9 tasks, not just a few.

Can a fine-tuned SLM actually beat a frontier model?

Yes. Qwen3-4B-Instruct-2507 vs GPT-OSS-120B (the teacher):

BenchmarkTeacher4B StudentΔ
TREC0.900.93+3
Banking770.920.89-3
Docs0.820.84+2
Ecommerce0.880.90+3
PII Redaction0.810.83+2
Roman Empire QA0.750.80+5
Smart Home0.920.96+4
SQuAD 2.00.520.71+19
Voice Assistant0.920.95+3

8 out of 9 wins for the 4B student. The SQuAD 2.0 gap (+19 points) shows how effectively fine-tuning can embed knowledge compared to prompting a much larger model.

Quick recommendations

ConstraintModel
Max accuracyQwen3-8B
Good accuracy, half the paramsQwen3-4B-Instruct-2507
Under 2B paramsQwen3-0.6B or Llama-3.2-1B
Max ROI from fine-tuningLFM2-350M or LFM2-1.2B
Edge / IoTLFM2-350M
No fine-tuningQwen3-8B

The core finding: fine-tuning matters more than base model choice. A well-tuned 1B model can outperform a prompted 8B model. The choice of architecture matters, but the training signal matters more.

Full post with charts, per-task breakdowns, and methodology details: https://www.distillabs.ai/blog/what-small-language-model-is-best-for-fine-tuning


r/OpenSourceeAI • • Jan 21 '26

Open source wins: Olmo 3.1 32B outperforms Claude Opus 4.5, Sonnet 4.5, Grok 3 on reasoning evaluation

42 Upvotes

Daily peer evaluation results (The Multivac) — 10 models, hard reasoning task, models judging models blind.

Today's W for open source:

Olmo 3.1 32B Think (AI2) placed 2nd overall at 5.75, beating:

  • Claude Opus 4.5 (2.97) — Anthropic's flagship

  • Claude Sonnet 4.5 (3.46)

  • Grok 3 (2.25) — xAI

  • DeepSeek V3.2 (2.99)

  • Gemini 2.5 Flash (2.07)

Also notable: GPT-OSS-120B at 3rd place (4.79)

Only Gemini 3 Pro Preview (9.13) decisively won.

The task: Constraint satisfaction puzzle — schedule 5 people for meetings Mon-Fri with 9 logical constraints. Requires systematic reasoning, not pattern matching.

What this tells us:

On hard reasoning that doesn't appear in training data, the open-source gap is closing faster than leaderboards show. Olmo's extended thinking approach clearly helped here.

AI2 continues to punch above their weight. Apache 2.0 licensed reasoning that beats $200/mo API flagships.

Full report: themultivac.com

Link: https://open.substack.com/pub/themultivac/p/logic-grid-meeting-schedule-solve?r=72olj0&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true


r/OpenSourceeAI • • 20d ago

Nous Research releases Arete-27B, a Qwen3.8-27B fine-tune that cuts propaganda answers to 0.9% (from 22%)

41 Upvotes

r/OpenSourceeAI • • 26d ago

NVIDIA just boosted inference speed for a 124B open-weight model by 42.5% on DGX Spark

41 Upvotes

NVIDIA just published a blog post on optimizing Ling 3.0 Flash, a 124B MoE model from Ant Group's InclusionAI, to run on a single DGX Spark.

  • 124B total parameters, with only ~5.1B active per token.

  • NVIDIA optimized MoE kernels, FP8 quantization, and speculative decoding.

  • 42.5% higher decoding throughput and 24.5% lower latency in end-to-end testing, without sacrificing accuracy.

  • In a synthetic benchmark, decoding speed jumped from 36 to 103 tokens/sec.

We've heard plenty about DeepSeek and Qwen, but Ling seems to be flying under the radar despite some interesting architectural choices. Interesting to see NVIDIA optimizing another Chinese open model.

Source: https://developer.nvidia.com/blog/3-ways-to-boost-moe-inference-on-nvidia-dgx-spark/


r/OpenSourceeAI • • Oct 12 '26

I built Ferry, an open source file sharing app that works with LocalSend and adds resumable transfers and sharing beyond your Wi-Fi

Thumbnail
gallery
40 Upvotes

I've been building Ferry, a desktop and browser app for sending files, folders, text and links straight between your own devices. No account, no cloud copy, no telemetry.

It speaks the LocalSend protocol, so it works with the LocalSend devices you already have. On top of that it adds:

  • Resumable transfers: a dropped connection or a restarted receiver continues from the last confirmed byte

  • Several transfers at once, and sending to several devices in one drop

  • Pairing your own devices with a QR code or a 6-digit code, so they send to each other without prompts

  • Beyond your network: a small self-hostable signaling server lets devices connect peer to peer over WebRTC, end-to-end encrypted, or through a private link

  • A browser app (installable PWA), plus QR links so any browser on your network can send or receive without installing anything

  • Mutual TLS with pinned certificates, and flat memory use (a 10 GB transfer used about 7 MB of extra RAM in my benchmarks)

Built with a Rust engine, Tauri 2 and Vue 3. Apache-2.0.

Honest status: it's early. The desktop app is tested on Windows. The macOS and Linux installers build in CI, and they're not code-signed. No mobile apps yet.

Repo: https://github.com/F7rx/Ferry

Downloads: https://github.com/F7rx/Ferry/releases

Feedback and bug reports are very welcome, especially from macOS and Linux users.

Ferry isn't affiliated with LocalSend; it's an independent app that implements its protocol.


r/OpenSourceeAI • • Feb 25 '26

Abliterated models are wild

40 Upvotes

Want a model to do what it is told and not bother you about "safety" or "ethics?" You can use ATTRADER's Huihui Qwen3 Coder Next Abliterated (EvilQwen) in LMStudio (or others of course). I needed a model to do penetration testing (of a sandbox I built to prevent models from going all OpenClaw on me). However, GPT and Opus refuse because I might be doing bad things (I was, but only to myself). This model? No qualms I told it to escape the sandbox and write a file to the local filesystem and to find all my pats and tell them to me... It tried its darndest and found things I didn't think of. It spent a lot of time looking at debug logs, for instance, and testing /var/private to see if it escapes the sandbox.

Want to learn about how to produce highly enriched Uranium? It will blurt that out too.

To get it I used:
* LM Studio and did the model search. It runs acceptably at like 80k context on my m4max 128g https://lmstudio.ai/
* LLxprt Code ( https://vybestack.dev/llxprt-code.html ), use the /provider menu and select LMStudio, select the model from /model and do /set context-limit (I did 80k and set the model to 85k on LMStudio) and /set maxOutputTokens (I did 5k). I did this in LLxprt's code sandbox https://vybestack.dev/llxprt-code/docs/sandbox.html - You do have to be careful as I mean EvilQwen has no safeties. It didn't for the record try to do anything more than what I told it to. I sandbox all my models anyhow. By default LLxprt asks for permission unless you --yolo or ctrl-y.

Realizing this is open weight more than open source but there are abliterated models based on open source ones as well (just I wanted the most capable that I could run for pen testing).


r/OpenSourceeAI • • Jul 23 '26

Meet Gigatoken: A Rust BPE Tokenizer that Encodes Text at 24.53 GB/s, up to 989x Faster than HuggingFace Tokenizers

38 Upvotes

Meet Gigatoken: A Rust BPE Tokenizer that Encodes Text at 24.53 GB/s on a 144-core AMD EPYC 9565, against 24.8 MB/s for HuggingFace tokenizers and 36.0 MB/s for tiktoken on the same machine

Both baselines are multithreaded Rust implementations. The difference comes from how the work is structured, not the language.

  1. Pretokenization without a regex engine Most tokenizers delegate pretokenization to a regex engine. Gigatoken implements it directly:

→ A 256-byte lookup table classifies the first byte in O(1), replacing alt/backtrack dispatch

→ SWAR loads 8 bytes as a u64 and checks all 8 for the letter property with branchless arithmetic

→ Two independent cursors run from a safe split point, so the out-of-order engine overlaps their instruction streams

The repo's optimization log records the progression on single-threaded GPT-2 pretokenization: fancy-regex at 47 MiB/s, NEON at 462, LUT + SWAR at 830, dual-cursor at 1,049 MiB/s.

2. Pretoken caching Words seen before are looked up rather than re-encoded through BPE. The author notes this is the hard part: the cache grows quickly and pretoken distributions are long-tailed.

3. Measured results across hardware GPT-2 on the 11.9 GB OpenWebText corpus:

→ EPYC 9565 (144 cores): 24.53 GB/s

→ Apple M4 Max (16 cores): 8.79 GB/s

→ Ryzen 7 9800X3D (16 cores): 6.27 GB/s

Methodology note: Gigatoken encodes the full file un-split and finds its own boundaries. HuggingFace tokenizers gets the first 100 MB and tiktoken the first 1 GB, both presplit on <|endoftext|>. Best of 3 interleaved rounds, fresh process per measurement.

4. Relevant workloads Pretraining data preparation, where a corpus is retokenized on each mixture or filter change. And time-to-first-token in serving: vLLM and SGLang hash token chunks into prefix trees, so tokenization runs before the KV-cache lookup.

Full analysis: https://www.marktechpost.com/2026/07/23/meet-gigatoken-a-rust-bpe-tokenizer-that-encodes-text-at-24-53-gb-s-up-to-989x-faster-than-huggingface-tokenizers/

GitHub Repo: https://github.com/marcelroed/gigatoken/#benchmarks


r/OpenSourceeAI • • Apr 15 '26

I built a cognitive architecture that replaces every component of the transformer stack. Single C file, no dependencies, no GPU. Here’s what’s inside.

37 Upvotes

I built a cognitive architecture that replaces every component of the transformer stack. Single C file, no dependencies, no GPU. Here’s what’s inside.

Body:

I’ve spent the last year building something I haven’t seen anyone else attempt: a complete cognitive architecture from scratch in pure C that eliminates matrix multiplication, replaces softmax attention with algebraic vector operations, and knows when to shut up instead of hallucinating.

It’s called Creation OS. It’s open source. One file. Compiles with gcc.

What it actually does differently:

The transformer does four expensive things: O(n²) attention, float32 matrix multiplication, token-by-token autoregressive generation, and blind confidence on every output. Creation OS replaces all four.

Attention: Instead of softmax over queries and keys, I use XNOR binding on 4096-dimensional binary hypervectors. This isn’t an approximation — it’s the exact algebra that Dhayalkar et al. (AAAI 2026) proved transformers are approximating with softmax. Binding fidelity: 1.0000. Exact recovery. O(n) complexity. At 4096 tokens the operation count is 87,000× lower than transformer attention. At 128K tokens it crosses 2,000,000×. The gap grows linearly with sequence length.

Dense layers: Every weight is {-1, 0, +1}. No multiplication anywhere. +1 = pass the value. -1 = negate. 0 = skip. Integer addition only. Zero floating-point rounding error by construction. This isn’t quantization of a trained float model — it’s a natively ternary architecture. Zhu et al. showed at NeurIPS 2024 that this matches Transformer++ at 2.7B parameters, and the scaling curve is steeper. A 13B model fits in 4.19 GB instead of 48.5 GB.

World model: Instead of predicting the next token, the system predicts the next representation in latent space (following LeCun’s JEPA architecture). Selective decoding — it only decodes when uncertainty changes. If nothing changed since last step, no computation happens. Zero power when idle. VL-JEPA 2026 demonstrated 285% speedup with this approach.

Uncertainty tracking: Eight independent distortion sources measured at every inference step — VSA binding noise, photonic analog error, world model prediction error, tensor network compression loss, anchor token polarization, association strength ratio, confidence calibration, and context degradation. If any single source exceeds threshold, the system abstains. It doesn’t hallucinate because it structurally cannot commit to output when uncertain.

Weight compression: Tensor network (Matrix Product Operator) decomposition with tunable bond dimension. CompactifAI showed this compresses LLaMA-2 7B to 30% of original size while retaining 90% accuracy. The bond dimension is literally a knob that controls how much redundancy you remove.

Hardware targeting: The whole architecture maps to hardware that already exists in published prototypes:

•	Photonic crossbar: full matrix-vector multiply in one light propagation, under 0.5 nanoseconds (MIT 2024, Nature 2025)

•	Memristive neurons: 143 attojoules per switch, 256 conductance states, reconfigurable between neuron and synapse mode with a single electrical pulse (Nature Communications 2025)

•	3D stacked compute-memory: memory physically on top of compute, eliminates the von Neumann bottleneck (Stanford IEDM 2025)

The numbers:

| |Transformer LLM|Creation OS |

|----------------|---------------|--------------------|

|Attention |O(n²) softmax |O(n) XNOR |

|Dense layers |float32 MatMul |ternary add/sub |

|Total distortion|~0.30 |0.007 |

|Power |300W GPU |5.8W |

|Memory (13B) |48.5 GB |4.19 GB |

|Hallucination |structural |impossible (σ-gated)|

|Scaling |quadratic wall |linear |

The theory:

All of this is formalized in what I call the Distortion Theory of Intelligence. One equation: K_eff = (1 − σ) · K. Effective intelligence equals raw coherence minus distortion. Every pathology of LLMs — hallucination, energy cost, scaling ceiling, alignment tax — traces back to σ. The architecture systematically eliminates every identified source.

~80 papers on Zenodo documenting the formalism. CC BY 4.0. The code is the implementation.

git clone https://github.com/spektre-labs/creation-os

gcc -O2 -o creation_os creation_os.c -lm

./creation_os --self-test

Full test suite passes. Every claim in this post corresponds to a test in that file.

Independent research from Helsinki. No institution, no funding, no product. Just the architecture.

github.com/spektre-labs/creation-os


r/OpenSourceeAI • • Dec 28 '25

This Week’s Hottest AI Models on Hugging Face

37 Upvotes

The Hugging Face trending page is packed with incredible new releases. Here are the top trending models right now, with links and a quick summary of what each one does:

zai-org/GLM-4.7: A massive 358B parameter text generation model, great for advanced reasoning and language tasks. Link: https://huggingface.co/zai-org/GLM-4.7

​- Qwen/Qwen-Image-Layered: Layered image-text-to-image model, excels in creative image generation from text prompts. Link: https://huggingface.co/Qwen/Qwen-Image-Layered

​- Qwen/Qwen-Image-Edit-2511: Image-to-image editing model, enables precise image modifications and edits. Link: https://huggingface.co/Qwen/Qwen-Image-Edit-2511

​- MiniMaxAI/MiniMax-M2.1: 229B parameter text generation model, strong performance in reasoning and code generation. Link: https://huggingface.co/MiniMaxAI/MiniMax-M2.1

​- google/functiongemma-270m-it: 0.3B parameter text generation model, specializes in function calling and tool integration. Link: https://huggingface.co/google/functiongemma-270m-it

Tongyi-MAI/Z-Image-Turbo: Text-to-image model, fast and efficient image generation. Link: https://huggingface.co/Tongyi-MAI/Z-Image-Turbo ​- nvidia/NitroGen: General-purpose AI model, useful for a variety of generative tasks. Link: https://huggingface.co/nvidia/NitroGen

​- lightx2v/Qwen-Image-Edit-2511-Lightning: Image-to-image editing model, optimized for speed and efficiency. Link: https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning

​- microsoft/TRELLIS.2-4B: Image-to-3D model, converts 2D images into detailed 3D assets. Link: https://huggingface.co/microsoft/TRELLIS.2-4B

​- LiquidAI/LFM2-2.6B-Exp: 3B parameter text generation model, focused on experimental language tasks. Link: https://huggingface.co/LiquidAI/LFM2-2.6B-Exp

​- unsloth/Qwen-Image-Edit-2511-GGUF: 20B parameter image-to-image editing model, supports GGUF format for efficient inference. Link: https://huggingface.co/unsloth/Qwen-Image-Edit-2511-GGUF

​- Shakker-Labs/AWPortrait-Z: Text-to-image model, specializes in portrait generation. Link: https://huggingface.co/Shakker-Labs/AWPortrait-Z

​- XiaomiMiMo/MiMo-V2-Flash: 310B parameter text generation model, excels in rapid reasoning and coding. Link: https://huggingface.co/XiaomiMiMo/MiMo-V2-Flash

​- Phr00t/Qwen-Image-Edit-Rapid-AIO: Text-to-image editing model, fast and all-in-one image editing. Link: https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO

​- google/medasr: Automatic speech recognition model, transcribes speech to text with high accuracy. Link: https://huggingface.co/google/medasr

​- ResembleAI/chatterbox-turbo: Text-to-speech model, generates realistic speech from text. Link: https://huggingface.co/ResembleAI/chatterbox-turbo

​- facebook/sam-audio-large: Audio segmentation model, splits audio into segments for further processing. Link: https://huggingface.co/facebook/sam-audio-large

​- alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.1: Text-to-image model, offers enhanced control for creative image generation. Link: https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.1

​- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16: 32B parameter agentic LLM, designed for efficient reasoning and agent workflows. Link: https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16

​- facebook/sam3: Mask generation model, generates segmentation masks for images. Link: https://huggingface.co/facebook/sam3

​- tencent/HY-WorldPlay: Image-to-video model, converts images into short videos. Link: https://huggingface.co/tencent/HY-WorldPlay

​- apple/Sharp: Image-to-3D model, creates 3D assets from images. Link: https://huggingface.co/apple/Sharp

​- nunchaku-tech/nunchaku-z-image-turbo: Text-to-image model, fast image generation with creative controls. Link: https://huggingface.co/nunchaku-tech/nunchaku-z-image-turbo

​- YatharthS/MiraTTS: 0.5B parameter text-to-speech model, generates natural-sounding speech. Link: https://huggingface.co/YatharthS/MiraTTS

​- google/t5gemma-2-270m-270m: 0.8B parameter image-text-to-text model, excels in multimodal tasks. Link: https://huggingface.co/google/t5gemma-2-270m-270m

​- black-forest-labs/FLUX.2-dev: Image-to-image model, offers advanced image editing features. Link: https://huggingface.co/black-forest-labs/FLUX.2-dev

​- ekwek/Soprano-80M: 79.7M parameter text-to-speech model, lightweight and efficient. Link: https://huggingface.co/ekwek/Soprano-80M

​- lilylilith/AnyPose: Pose estimation model, estimates human poses from images. Link: https://huggingface.co/lilylilith/AnyPose

​- TurboDiffusion/TurboWan2.2-I2V-A14B-720P: Image-to-video model, fast video generation from images. Link: https://huggingface.co/TurboDiffusion/TurboWan2.2-I2V-A14B-720P

​- browser-use/bu-30b-a3b-preview: 31B parameter image-text-to-text model, combines image and text understanding. Link: https://huggingface.co/browser-use/bu-30b-a3b-preview

These models are pushing the boundaries of open-source AI across text, image, audio, and 3D generation. Which one are you most excited to try?


r/OpenSourceeAI • • Mar 07 '26

CodeGraphContext - An MCP server that converts your codebase into a graph database, enabling AI assistants and humans to retrieve precise, structured context

35 Upvotes

CodeGraphContext- the go to solution for graphical code indexing for Github Copilot or any IDE of your choice

It's an MCP server that understands a codebase as a graph, not chunks of text. Now has grown way beyond my expectations - both technically and in adoption.

Where it is now

  • v0.2.6 released

  • ~1k GitHub stars, ~325 forks

  • 50k+ downloads

  • 75+ contributors, ~150 members community

  • Used and praised by many devs building MCP tooling, agents, and IDE workflows

  • Expanded to 14 different Coding languages

What it actually does

CodeGraphContext indexes a repo into a repository-scoped symbol-level graph: files, functions, classes, calls, imports, inheritance and serves precise, relationship-aware context to AI tools via MCP.

That means:

  • Fast “who calls what”, “who inherits what”, etc queries

  • Minimal context (no token spam)

  • Real-time updates as code changes

  • Graph storage stays in MBs, not GBs

It’s infrastructure for code understanding, not just 'grep' search.

Ecosystem adoption

It’s now listed or used across: PulseMCP, MCPMarket, MCPHunt, Awesome MCP Servers, Glama, Skywork, Playbooks, Stacker News, and many more.

This isn’t a VS Code trick or a RAG wrapper- it’s meant to sit
between large repositories and humans/AI systems as shared infrastructure.

Happy to hear feedback, skepticism, comparisons, or ideas from folks building MCP servers or dev tooling.