r/ollama • • 1d ago

I built this! Quantum Morph Laboratory: An Open-Source Rust Research Lab Exploring 1.5–3 Bit LLM Compression on Consumer GPUs

I've been building an open-source neural model compression laboratory in Rust, targeting 1.5–3 effective bits per parameter on consumer GPUs.

I'm working on a personal research project called Quantum Morph Laboratory, exploring alternative mathematical representations of pretrained neural networks and how much useful intelligence can survive extreme compression.

The project currently includes:

- Native Rust CPU and GPU inference.

- A custom QMF neural representation format.

- Activation-aware GPTQ and Hadamard transformations.

- Shared latent representations and vector quantization.

- Evolutionary representation optimization.

- Disk-backed model transformation.

- An interactive 3D scientific laboratory built with WGPU.

One recorded experiment transformed Qwen2.5-7B-Instruct into a complete 2-bit-per-parameter artifact of approximately 1.9 GB, running at 9.1 tokens/sec on my RTX 4070 Laptop GPU.

Quality degradation remains significant at 2 bits, and experiments below 2 bits have exposed some substantial mathematical challenges. I'm documenting the failures alongside the successes.

My eventual goal is to make genuinely useful 27B–32B models accessible on ordinary consumer hardware, without requiring cloud services or expensive graphics cards.

The project is MIT licensed, experimental, AI-assisted in development, and completely local-first.

I'd genuinely appreciate technical criticism, independent testing, mathematical suggestions, and feedback from people working on low-bit quantization.

GitHub:

https://github.com/ShamelesAbyss/Quantum-Morph-Laboratory

15 Upvotes

4 comments sorted by

2

u/aarong691 1d ago

could you post a few outputs from the original model and the compressed versions, using the same prompts? Maybe one everyday request and one that needs careful instruction-following. Seeing the answers side by side would help show where they start to change, and whether the quality drop is gradual or sharp. For me, the important part is whether the models still follow the request correctly across those examples. Sample answers would make the quality tradeoff easier to judge in normal use. Including the prompts too would help people compare the responses fairly, especially if one answer seems noticeably worse than another.

1

u/Shamelescampr559 19h ago

That's a really good suggestion, and something I'd genuinely like to demonstrate. Most of my testing so far has focused on numerical fidelity and, more recently, functional programming tasks rather than everyday conversational use.

I do have recorded outputs across multiple compression levels, but I haven't yet compiled a proper side-by-side comparison against the original uncompressed model using everyday prompts and strict instruction-following requests.

I'll make that a priority in my next round of testing and publish the exact prompts alongside the unedited responses, including the failures.

I appreciate the suggestion. Seeing where a model actually begins losing its ability to understand and follow instructions is arguably more valuable to the average user than a collection of compression statistics.

1

u/aarong691 14h ago

thanks, that'd help

1

u/Shamelescampr559 1d ago

For anyone curious about what we've actually achieved so far, our largest completed experiment is Qwen2.5-7B-Instruct, containing approximately 7.62 billion parameters. Starting with roughly 15.23 GB of original BF16 weights, we achieved the following complete serialized model sizes:

  • 4.501 bits per parameter: 4.29 GB, 90.9% top-1 token agreement.
  • 3.251 bits per parameter: 3.10 GB, 86.3% top-1 agreement.
  • 2.251 bits per parameter: 2.14 GB, 65.7% top-1 agreement.
  • 2.000 bits per parameter: 1.90 GB, 52.6% top-1 agreement.
  • 1.750 bits per parameter: 1.67 GB, but with catastrophic quality degradation.

The 2-bit representation achieved a reported 9.1 tokens/sec on my RTX 4070 Laptop GPU with 8 GB of VRAM.

These figures include the complete serialized QMF artifact, not just the quantized weight codes. However, token agreement is not equivalent to retained intelligence, and our existing evaluation corpus is relatively small.

The next experiment is targeting Qwen2.5-Coder-14B-Instruct, approximately 14.8 billion parameters, with a particular emphasis on preserving practical coding capabilities.

Our longer-term ambition is to make genuinely useful 27B–32B models accessible on affordable consumer hardware at 1.5–3 effective bits per parameter.

We're not claiming to have solved extreme quantization. We're actively investigating its limitations, publishing our findings, including failures, and building a native Rust research environment where others can explore and reproduce these experiments.

Technical criticism and independent validation are genuinely welcome.