New to all things HF and AI, but bugs I am familiar with. ROCm: illegal memory access. Model: Qwen3.5-35B-A3B-Q4_K_M

#40
by jwallgood - opened

lot launch_slot_: id 3 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> temp-ext -> dist
slot launch_slot_: id 3 | task 591 | processing task, is_child = 0
slot update_slots: id 3 | task 591 | new prompt, n_ctx_slot = 131072, n_keep = 0, task.n_tokens = 916
slot update_slots: id 3 | task 591 | n_past = 470, slot.prompt.tokens.size() = 1060, seq_id = 3, pos_min = 1059, n_swa = 1
slot update_slots: id 3 | task 591 | Checking checkpoint with [467, 467] against 469...
/llama.cpp/ggml/src/ggml-cuda/ggml-cuda.cu:98: ROCm error
ROCm error: an illegal memory access was encountered
current device: -1, in function ggml_backend_cuda_buffer_set_tensor at /llama.cpp/ggml/src/ggml-cuda/ggml-cuda.cu:648
hipMemcpyAsync((char *)tensor->data + offset, data, size, hipMemcpyHostToDevice, ((hipStream_t)2))

Not sure if this is a llama-server issue or not, but have test many models and this is the only one with a ROCm error.

Model: Qwen3.5-35B-A3B-Q4_K_M

Linux Mint 22.3 kernel 6.17

Package: rocm-libs
Version: 7.2.0.70200-43~24.04

SA System Attributes

Runtime Version: 1.18
Runtime Ext Version: 1.15
System Timestamp Freq.: 1000.000000MHz
Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model: LARGE
System Endianness: LITTLE
Mwaitx: DISABLED
XNACK enabled: NO
DMAbuf Support: YES
VMM Support: YES

==========
HSA Agents


Agent 1


Name: AMD Ryzen 7 5700X 8-Core Processor
Uuid: CPU-XX


Agent 2


Name: gfx1200
Marketing Name: AMD Radeon RX 9060 XT


Agent 3


Name: gfx1200
Marketing Name: AMD Radeon RX 9060 XT

jwallgood changed discussion status to closed
jwallgood changed discussion status to open

All of the versions of this model that I have loaded, have the same invalid memory access issue. I have tried about 10 so far, and these are only ones with issues.
Qwen3.5-35B-A3B-Q4_K_M.gguf
Qwen3.5-35B-A3B-UD-Q4_K_XL.gguf
Qwen3.5-35B-A3B-Q5_K_S.gguf
Qwen3.5-35B-A3B-Q5_K_M.gguf

I have been running this model for several days, all day, every day, no issues
Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled.i1-Q4_K_M

Sign up or log in to comment