Replies: 2 comments
-
|
You need |
Beta Was this translation helpful? Give feedback.
-
|
@KOKOSde has it — Worth flagging though: you're on mlx 0.7 and the current release is around 0.29 — that's a lot of API and perf changes between. If you're poking at gpu vs cpu it's worth upgrading first ( Once upgraded: >>> import mlx.core as mx
>>> mx.device_info(mx.gpu)
{'architecture': '...', 'memory_size': ..., 'max_buffer_length': ..., 'max_recommended_working_set_size': ...}No args also works ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to get the device info show in official doc,, because I want to test the gpu and cpu, so I follow the document said, but when I run
mlx.core.device_info(mx.DeviceType.gpu), there is an error❓ How can I get the device info?
I work on:
Beta Was this translation helpful? Give feedback.
All reactions