Skip to content

Segmentation fault under WSL with AMD #7

@jdluzen

Description

@jdluzen

I just found this, thanks so much for this amazing project!
I'm running under WSL on an AMD 7900 XTX.
I started out by trying to compile and run with Vulkan, but unfortunately, I could never get it off the CPU driver (llvmpipe). I didn't realize I could use DGGML_HIP. It compiled much easier, but unfortunately when running

./ace-qwen3 --request /models/acestepcpp/mytest.json --model /models/acestepcpp/acestep-5Hz-lm-4B-BF16.gguf

I get this:

[Request] parsed /models/acestepcpp/mytest.json (4 fields)
[Request] seed=-1
  caption:    <my caption>
  lyrics:     0 bytes
  bpm=0 dur=360 key= ts= lang=unknown
  lm: temp=0.85 cfg=2.0 top_p=0.90 top_k=0
  dit: steps=8 guidance=1.0 shift=3.0
  audio_codes: (none)
[BPE] Loaded from GGUF: 151643 vocab, 151387 merges
ggml_cuda_init: found 1 ROCm devices:
  Device 0: AMD Radeon RX 7900 XTX, gfx1100 (0x1100), VMM: no, Wave Size: 32
[Load] LM backend: ROCm0 (CPU threads: 16)
[GGUF] /models/acestepcpp/acestep-5Hz-lm-4B-BF16.gguf: 398 tensors, data at offset 5346240
[LM-Config] 36L, H=2560, V=217204, Nh=32, Nkv=8, D=128, tied=1
[Qwen3] Attn: Q+K+V fused
[Qwen3] MLP: gate+up fused
[WeightCtx] Loaded 398 tensors, 7991.3 MB into backend
[LM-KV] Allocated 2 sets x 36 layers (4D batched), 2304.0 MB
[FSM] Prefix trees: bpm=301, dur=601, key=654, lang=18, tsig=5 nodes
[Fill] lyrics=generate metas=fill gaps | 57 tokens, CFG: 1.00, N=1
Segmentation fault (core dumped)

Any ideas? In the meantime, I'll try to build a debug version and see if that has any more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions