Skip to content

Unable to load GGUF models - "Unsupported model format or corrupted file" error on both CPU and OpenCL #27

@Ruman102

Description

@Ruman102

Hello developer,
I am reporting a critical issue where GGUF models fail to load on my device using the Local Diffusion app. Despite ensuring the files are not corrupted (downloaded via ADM) and trying correct file paths, the app throws an error instantly.
Issue Details:
When attempting to load any GGUF model (e.g., DreamShaper_XL_Lightning or Z-Image-Turbo), I get the error: "Unsupported model format or corrupted file."
What I have tried:
Backend: Tried both OpenCL and CPU.
Note: I understand my GPU (Adreno 6-series) might not support OpenCL, but the model fails even on the CPU backend.
Files: Re-downloaded models multiple times to ensure file integrity. VAE loads successfully, but the main model fails.
Storage: Files are placed correctly in /Local Diffusion/models.
Device Specifications (Vivo V30 Lite 5G):
OS: Android 14 (Funtouch OS 14)
Chipset: Qualcomm Snapdragon 4 Gen 2 / 695 5G
GPU: Adreno 613 / 619 (Adreno 6-series)
RAM: 12GB (Physical)
Models Tried:
Z-Image-Turbo: z_image_turbo-Q4_K_M.gguf
Source: https://huggingface.co/jayn7/Z-Image-Turbo-GGUF/blob/main/z_image_turbo-Q4_K_M.gguf

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