MagicQuant 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global MagicQuant --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MagicQuant --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MagicQuant&version=0.1.0
                    
nuke :add-package MagicQuant --version 0.1.0
                    

MagicQuant

Benchmark-driven GGUF quantization and mixed-precision hybrid discovery for llama.cpp.

MagicQuant measures baselines, learns tensor-group assignments, discovers promising hybrid quantizations, and validates size/fidelity tradeoffs before exporting selected GGUF artifacts. It is a command-line tool, not an evolutionary search algorithm or a new quantization format.

Install

Install the .NET 10 SDK, then:

dotnet tool install --global MagicQuant
magicquant init-config --output config.yaml

Edit model, architecture, output, and scratch paths, then prepare the native toolchain and run:

magicquant initialize-llama-cpp
magicquant pipeline --config config.yaml --check-config --strict-config
magicquant pipeline --config config.yaml

NuGet does not bundle model weights or a ready-to-use GPU toolchain. Linux is the tested campaign platform; Windows has automated build/unit/package checks but full campaigns remain unvalidated.

Fast, separate physical scratch disks can help substantially when repeated large GGUF writes are the bottleneck. External quantization providers are optional; Unsloth is the maintainer's recommended starting point for compatible tensor-assignment evidence.

MagicQuant is licensed under AGPL-3.0-only. Model weights and generated GGUFs retain their applicable licenses. See license and third-party notices.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.2 49 9/8/2026
0.1.1 33 9/8/2026
0.1.0 43 9/8/2026