Skip to content

ggml_metal_init fails on Intel Iris Graphics #1393

@ilya-lavrenov

Description

@ilya-lavrenov

See conan-io/conan-center-index#20774 (comment)

With 1.4.2 version simple test in Conan https://github.com/conan-io/conan-center-index/blob/49b151e872b2d4376097e35ed416f69c03090aba/recipes/whisper-cpp/all/test_package/test_package.cpp has passed, but with current master it fails with the following error on macOS:

ggml_metal_init: allocating
ggml_metal_init: found device: Intel Iris Graphics
ggml_metal_init: picking default device: Intel Iris Graphics
ggml_metal_init: loading '(null)'
ggml_metal_init: error: Error Domain=NSCocoaErrorDomain Code=258 "The file name is invalid."
whisper_init_state: ggml_metal_init() failed

I suppose Metal is not available on Intel iGPU? Should it be silently handled in whisper.cpp code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions