Skip to content

Q4_K_M GGUFs decode garbage on the iOS 26 simulator Metal path #131

Open

Description

@zeekay

zen-eco-3b-agent-q4_k_m.gguf (Qwen3 3B) through hanzo-engine-ffi on the iOS 26.5 simulator (iPhone 17 Pro, host GPU) loads (12 s, 3.67 GiB resident) but decodes junk ('dens impairment_albumdens...'), deterministically; the same file is coherent on macOS Metal through hanzo-engine 1.7.107 (62 tok/s). zen6-nano-2b-PQ2_0.gguf is coherent on the same simulator path (731 MiB, 56-62 tok/s). Suspect a Q4_K Metal kernel under the simulator's paravirtual GPU or the -mios-simulator-version-min metallib; needs a real-device run. Repro: hanzo-engine-ffi built with HANZO_FFI_TARGET=aarch64-apple-ios-sim, FFI_MODELS=name=gguf:, hanzo_ffi_chat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions