CoolFace
Modelpublic

lmcoleman/Muse-Glimmer-30B-MagicQuant-GGUF

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
0likes274downloads
Model Card

Muse-Glimmer-30B-MagicQuant-GGUF

Derivative of Muse-Glimmer-30B, quantized using MagicQuant hybrid evolutionary per-tensor search.

Base Model

This is a derivative of Muse-Glimmer-30B. All credit for the base model architecture and weights goes to the original authors. The base model's license applies to this derivative.

Quantization Method

Quantized using [MagicQuant](https://github.com/lucasmcoleman/MagicQuant) hybrid evolutionary per-tensor quantization, based on the methodology by [magiccodingman](https://github.com/magiccodingman/MagicQuant-Wiki):

  • —Tensors are classified into sensitivity groups (Embeddings, Head, Query, Key, Output, FFN Up/Down, MoE Experts, Router)
  • —An evolutionary search finds the optimal quantization type per group, balancing size vs. perplexity
  • —Q4/Q5/Q6 tier targets are searched, and each one ships only if it earns its place (see below)
  • —Small-row tensors and sensitivity-critical layers (embeddings, output head, router) are kept at F32/F16/BF16
  • —This is NOT a uniform quantization -- each tensor group gets its own optimal type

A tier name here is a size band, not a promise that every tensor uses that exact type. A "Q5" is whatever mix of schemes landed in the Q5 size band with the lowest measured perplexity loss -- which is the point of the search.

GGUF Files

FileSizeQuantPerplexity vs BF16
Muse-Glimmer-30B-Q4_K_M.gguf18.3 GBQ4 hybrid6.6536 (+1.24%)
Muse-Glimmer-30B-Q5_K_M.gguf19.3 GBQ5 hybrid6.5991 (+0.41%)
Muse-Glimmer-30B-Q6_K.gguf24.6 GBQ6 hybrid6.5778 (+0.09%)
mmproj-Muse-Glimmer-30B-f16.gguf3.8 GBF16 (unquantized)not measured

Perplexity measured on wikitext-2 (100 chunks, ctx 512) against the BF16 baseline of 6.5721. Lower is better; the percentage is the increase over BF16. These are the same measurements the tier selection is based on, so a tier that shipped is one that earned its size.

Recommended: Q6 (22.90 GiB). It has the best measured quality on offer, and the next size down (Q5) gives up a real 0.32 percentage points of perplexity rather than a difference lost in noise.

Usage

LM Studio

  1. 1.Download the GGUF file of your preferred quantization tier
  2. 2.Place it in your LM Studio models directory
  3. 3.Load the model in LM Studio -- it will auto-detect the chat template
  4. 4.The model supports the base model's full context length

llama.cpp

bash
# Interactive chat (--jinja uses the model's embedded chat template, not a hardcoded one)
llama-cli -m Muse-Glimmer-30B-Q5_K_M.gguf -c 8192 --jinja -cnv

# Single prompt
llama-cli -m Muse-Glimmer-30B-Q5_K_M.gguf -c 8192 -p "Your prompt here"

# Server mode
llama-server -m Muse-Glimmer-30B-Q5_K_M.gguf -c 8192 --port 8080 --jinja

Python (llama-cpp-python)

python
from llama_cpp import Llama

llm = Llama(model_path="./Muse-Glimmer-30B-Q5_K_M.gguf", n_ctx=8192)
output = llm.create_chat_completion(
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)
print(output["choices"][0]["message"]["content"])

Vision (image input)

bash
llama-server -m Muse-Glimmer-30B-Q5_K_M.gguf --mmproj mmproj-Muse-Glimmer-30B-f16.gguf -c 8192 --port 8080 -ngl 99 -fa on

Caveats

  • —The base model's license (apache-2.0) applies to all derivative files
  • —Quantization reduces precision -- verify outputs for your specific use case
  • —The hybrid quantization assigns different precision to different tensor groups, which means quality characteristics may differ from uniform quantizations

Limitations

  • —Quantized models may exhibit subtle differences from the full-precision fine-tune
  • —This model inherits any limitations and biases present in the base model

Generated with [MagicQuant](https://github.com/lucasmcoleman/MagicQuant)