Skip to content
Other

Muse Glimmer QLoRA adapter

20 шагов, +42 пункта accuracy и вывод «так делать не надо»

2 min read

LoRA-адаптер для meta-models/Muse-Glimmer-30B (ревизия cec94fcf), собранный за 20 шагов QLoRA во время Meta Global AI Developer Hackathon (26 октября — 4 ноября 2026). Автор публикует его как пример эксперимента из раздела «что мы пробовали и что не сработало»: проект SeismoRescue в рантайме использует только базовые веса без адаптера.

Ключевые особенности

  • Задача: по A/B-кропам синтетической плёнки WWSSN выбрать красный путь, который остаётся на линии землетрясения при пересечении или почти-касании (149 пересечений и 51 почти-касание на 200 валидационных кропах).
  • 4-bit NF4 (bitsandbytes) для линейных слоёв LLM, vision-части и lm_head остаются в bf16; LoRA rank 16, alpha 32, dropout 0.05 на attention (q, k, v, o) и MLP (gate, up, down).
  • 20 шагов, накопление градиента 4, learning rate 2e-4 с 3 шагами warm-up; одна H100 80 GB на Modal, весь прогон с оценкой — 503 с и около $0.60.
  • Контроль без «чернил»: если стереть плёнку с кропов, адаптер всё равно даёт 0.985 — он выучил форму красных путей, а не плёнку. Именно поэтому адаптер не используется.
  • Воспроизводимость: 8 из 8 проверок перезагрузки дали то же предсказание, максимальная разница логитов — 0.0.

Пример

Формат задачи — forced choice: модели дают пару кропов A и B и вопрос, какой красный путь остаётся на линии землетрясения; ответ — больший из логитов A/B на первом токене ответа, без шагов рассуждения. Код стадий лежит в репозитории: scripts/ml_glimmer_modal.py, scripts/glimmer_verifier_data_v1.py и scripts/glimmer_task.py.

ПодробнееAccuracy на 200 валидационных кропах (Wilson 95% CI): zero-shot — 0.56 [0.49, 0.62], после 20 шагов — 0.98 [0.95, 0.99], после 20 шагов со стёртой плёнкой — 0.985 [0.96, 0.99].
Данные — только синтетические рендеры из out/film2_train, реальных сканов и приватных данных нет.
Веса — adapter_model.safetensors на 383 MB; в adapter_config.json путь base_model_name_or_path указывает на локальную копию автора, его нужно заменить на свой.
Лицензия Apache 2.0, дополнительно действует Muse Glimmer Usage Policy.
Discuss Telegram 1 17

Will it run?

Runs in 4-bit

Full precision does not fit, a quantised version does: quality barely changes down to 8 bits, more noticeably at 4 bits.

  • BF16weights 56 GB · ready files62 GB
  • FP8 / INT8recommendedweights 28 GB31 GB
  • 4-bitweights 16 GB18 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

This is a LoRA: counted together with its base model Muse-Glimmer-30B.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # seungminpark/seismorescue-glimmer-qlora-test
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download meta-models/Muse-Glimmer-30B --local-dir ~/models/Muse-Glimmer-30B
    hf download seungminpark/seismorescue-glimmer-qlora-test --local-dir ~/models/seismorescue-glimmer-qlora-test
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Muse-Glimmer-30B
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

Requires the base model

meta-models/Muse-Glimmer-30B

This model is a LoRA / adapter. Download the base model first, then load this one on top.

New posts about versions of Muse-Glimmer-30B (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 1All on Hugging Face
Merges 1All on Hugging Face

About the model

seungminpark/seismorescue-glimmer-qlora-test
Author
seungminpark
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

171

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments