Repository navigation
Closed
Description
Once again, nicely done with a lightweight targetted cpp implementation of SoTA music gen models!
Issue with SheetSage2 on Vulkan
I'm on a Strix Halo Linux System, Debian Build. With Vulkan as of c6d131b, I'm having issues with the Transcribe Score with SheetSage2 either finding no beat...and when it does, returning a series of repeated notes:
[Store] Created (policy=STRICT)
[BPE] Loaded from GGUF: 151851 vocab, 151387 merges
[GGUF] models/YuE2-3B-Q8_0.gguf: 627 tensors, data at offset 5367296
[Load] KV backend: Vulkan0 (CPU threads: 16)
[Server] yue-server c6d131b (2026-09-14)
[Server] Listening on 127.0.0.1:8193
[MP3] Read buffer: 10623744 samples, 48000 Hz, 2 ch
[Server] Transcribe job 5383e0a698cf5177: 221.3 s of audio, melody only
[GGUF] models/SheetSage2-Q8_0.gguf: 1039 tensors, data at offset 92512
[Load] SheetSage backend: Vulkan0 (CPU threads: 16)
[WeightCtx] Loaded 1035 tensors, 912.6 MB into backend
[SheetSage] Loaded: 24 conformer layers, 6 decoder layers, vocab 31678, window 300 s
[Store] Load SS2: 3774 ms
[SheetSage] Window 0: 0.0 s to 221.3 s, accepting to 221.3 s
[SheetSage] Encoded: 7500 frames, 5423 nodes, 2938 ms
[SheetSage] Decoding 0/5120
[SheetSage] Decoding 100/5120
[SheetSage] Decoding 200/5120
...
[SheetSage] Decoding 4900/5120
[SheetSage] Decoding 5000/5120
[SheetSage] Decoding 5100/5120
[SheetSage] Decoded: 5121 tokens, 14.8 s (2.9 ms/token)
[SheetSage] Transcribed: 221.3 s of audio, 751 events, 18.5 s, no score
[Store] Unload SS2 (912.6 MB)
[Server] Transcribe job 5383e0a698cf5177 failed: At least two decoded beats are required for ABC
On one of the few songs I can get to work with Vulkan:
^_[MP3] Read buffer: 11969280 samples, 44100 Hz, 2 ch
[Server] Transcribe job cf2acf1c757992ec: 271.4 s of audio, full score
[GGUF] models/SheetSage2-Q8_0.gguf: 1039 tensors, data at offset 92512
[Load] SheetSage backend: Vulkan0 (CPU threads: 16)
[WeightCtx] Loaded 1035 tensors, 912.6 MB into backend
[SheetSage] Loaded: 24 conformer layers, 6 decoder layers, vocab 31678, window 300 s
[Store] Load SS2: 194 ms
[SheetSage] Window 0: 0.0 s to 271.4 s, accepting to 271.4 s
[SheetSage] Encoded: 7500 frames, 5423 nodes, 2918 ms
[SheetSage] Decoding 0/5120
[SheetSage] Decoding 100/5120
[SheetSage] Decoding 200/5120
[SheetSage] Decoding 300/5120
...
[SheetSage] Decoding 5000/5120
[SheetSage] Decoding 5100/5120
[SheetSage] Decoded: 5121 tokens, 14.7 s (2.9 ms/token)
[SheetSage] Transcribed: 271.4 s of audio, 1076 events, 18.4 s
[Store] Unload SS2 (912.6 MB)But the resulting sheet music looks like this:
X:1
T:
M:4/4
L:1/16
Q:1/4=120
V: Vocal clef=treble name="Vocal Melody" snm="Vocal"
V: Ins clef=treble name="Ins Melody" snm="Inst."
K:G
% intro
V: Vocal
Z|
V: Ins
Z|
% verse
V: Vocal
z6B2B2c2d2d2|d2c4c4c4c2-|c2c4c4c2c2c2|B2B2B2A2A2A2A2A2|
V: Ins
Z4|
V: Vocal
A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|
V: Ins
Z4|
V: Vocal
A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|A2A2A2A2A2A2A2A2|
V: Ins
Which is repeating A2 a bunch of times after a short start.
With CPU
But building and testing with CPU (much slower, on a shorter song) works fine:
[MP3] Read buffer: 890496 samples, 44100 Hz, 2 ch
[Server] Transcribe job 79c7879789b89521: 20.2 s of audio, full score
[GGUF] models/SheetSage2-Q8_0.gguf: 1039 tensors, data at offset 92512
[Load] SheetSage backend: CPU (CPU threads: 16)
[WeightCtx] Loaded 1035 tensors, 912.6 MB into backend
[SheetSage] Loaded: 24 conformer layers, 6 decoder layers, vocab 31678, window 300 s
[Store] Load SS2: 121 ms
[SheetSage] Window 0: 0.0 s to 20.2 s, accepting to 20.2 s
[SheetSage] Encoded: 7500 frames, 5519 nodes, 25571 ms
[SheetSage] Decoding 0/5120
[SheetSage] Decoding 100/5120
[SheetSage] Decoding 200/5120
[SheetSage] Decoded: 271 tokens, 1.8 s (6.5 ms/token)
[SheetSage] Transcribed: 20.2 s of audio, 81 events, 28.1 s
[Store] Unload SS2 (912.6 MB)
with score
X:1
T:
M:4/4
L:1/16
Q:1/4=115
V: Vocal clef=treble name="Vocal Melody" snm="Vocal"
V: Ins clef=treble name="Ins Melody" snm="Inst."
K:Dm
% intro
V: Vocal
z12"Dm"z4|"Dm"z16|"Am"z16|"A#maj7"z16|
V: Ins
z12a2a2|aaaaaaaaaaaagfdc|gfdccAFDA2A2GFD2|z8z2G2GAz2|
V: Vocal
"Fmaj7/A"z16|"Dm"z16|"Am"z16|"A#maj7"z16|
V: Ins
A12GFD2|d12dcAc|gfdccAFDA2A2GFD2|z8z2G2GAz2|
V: Vocal
"Fmaj7/A"z16|"Dm"z16|"Dm"z6z8z2|
V: Ins
A16|d2z2A2z2A2A2A2A2|A2z12z2|
...
Given the number of nodes is different, I thought it might be flash attention, but I have the same issue with Vulkan even with --no-fa.
Reacted by gruzonik
Reacted by Pascal
Metadata
Metadata
Assignees
Labels
No labels
Activity
ServeurpersoCom commentedon Sep 15, 2026
I reproduced. Fixed soon:)
ServeurpersoCom commentedon Sep 15, 2026
Fixed in my GGML fork, with the upstream fix open at ggml-org/llama.cpp#28956. Please pull and rebuild, then let me know if it works on your side.
theaerotoad commentedon Sep 16, 2026
That fixed it indeed. Thanks!