Summary
Running trio analyze on Apple Silicon emits a deprecation warning from MLX in normal CLI output.
Reproduction
trio analyze ~/Downloads/photo.jpg -q "What's here?"
Actual behavior
The command succeeds, but the output includes:
mx.metal.device_info is deprecated and will be removed in a future version. Use mx.device_info instead.
Expected behavior
Normal user-facing CLI output should not emit deprecation warnings. The code should use the supported MLX API.
Impact
The command still works, but the warning makes the CLI output look unstable and distracts from the actual result.
Suggested fix
Replace usage of mx.metal.device_info with mx.device_info where applicable.
Summary
Running
trio analyzeon Apple Silicon emits a deprecation warning from MLX in normal CLI output.Reproduction
Actual behavior
The command succeeds, but the output includes:
Expected behavior
Normal user-facing CLI output should not emit deprecation warnings. The code should use the supported MLX API.
Impact
The command still works, but the warning makes the CLI output look unstable and distracts from the actual result.
Suggested fix
Replace usage of
mx.metal.device_infowithmx.device_infowhere applicable.