Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggml_metal_init: Show all Metal device instances in the system #2952

Merged
merged 2 commits into from
Sep 2, 2023

Conversation

knweiss
Copy link
Contributor

@knweiss knweiss commented Sep 1, 2023

As e.g. mentioned in #2407 some Macs have several Metal-capable devices. List them in ggml_metal_init() and show which one was picked.

Example output from my MacBook Pro, 16-inch (2019):

ggml_metal_init: found device: AMD Radeon Pro 5500M
ggml_metal_init: found device: Intel(R) UHD Graphics 630
ggml_metal_init: picking default device: AMD Radeon Pro 5500M

This PR introduces no functional change.

Also show the default Metal device that was picked.
ggml-metal.m Outdated Show resolved Hide resolved
@ggerganov ggerganov merged commit 8b56b4f into ggerganov:master Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants