ROCm / ROCm/FastFlowLM

[Model request]: Meta Muse Glimmer 30B

Open
#683 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.9k
Forks
152
Avg merge
4h 14m
Merged PRs (30d)
11

Description

Suggestion Description

Hi FastFlowLM team,

Could you consider adding NPU support for Meta's Muse Glimmer 30B?

Model links:

Muse Glimmer is a dense 30B multimodal model designed for local agentic workflows. Its official approximately 4-bit quantizations keep the language model below 20 GB, which makes it particularly interesting for Ryzen AI Max / Strix Halo systems with 32 GB or more of unified memory.

Some relevant architecture details:

  • 52 transformer layers, hidden size 6656
  • [Local, Local, Local, Global] attention pattern
  • 2048-token sliding window
  • 32 query heads and 2 KV heads
  • Q/K RMSNorm and gated attention output
  • RoPE on local layers and NoPE on global layers
  • 131K context length
  • optional 50-layer ViT-G/14 perception encoder
  • optional DFlash speculative drafter

There appears to be some architectural overlap with the existing Gemma4e implementation in FastFlowLM, especially around sliding/global attention, Q/K normalization, post-attention/post-FFN norms, and logit softcapping. However, Muse Glimmer also requires a separate attention gate, different dimensions, per-layer RoPE/NoPE behavior, and its own vision pipeline.

A staged implementation would already be very useful:

  1. Text-only Q4/Q4NX support
  2. Vision/perception encoder support
  3. DFlash speculative decoding as an optional later feature

Even text-only support without vision or DFlash would make Muse Glimmer valuable for local coding, tool use, and agentic workloads on Ryzen AI NPUs.

Could you please clarify:

  • Is Muse Glimmer already on the FastFlowLM roadmap?
  • Could the existing Gemma4e NPU kernels be extended or reused for its text architecture?
  • Would a new model-specific engine and .xclbin package be required?
  • If community contributions are welcome, is there documentation or a contribution path for building the model engine and NPU kernel package?

Thank you for considering it, and for making Ryzen AI NPU inference accessible through FastFlowLM!

Operating System

No response

GPU

No response

ROCm Component

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing FastFlowLM's existing Gemma4e implementation with the linked Transformers and llama.cpp Muse Glimmer implementations. Scope the first milestone to text-only Q4/Q4NX support, accounting for the model's attention, normalization, RoPE/NoPE, and gating differences. Done means text-only Muse Glimmer inference works on the target Ryzen AI NPU; vision and DFlash can remain later stages.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, huggingface
Domain
ai-infra-agents, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.