chore: replace deprecated mx.metal.* with mx.set_* API #5
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lthn/LEM#5
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
MLX has deprecated
mx.metal.set_memory_limitandmx.metal.set_cache_limitin favour of:mx.set_memory_limitmx.set_cache_limitThe old API will be removed in a future MLX release.
Files to update
scripts/train-4b-lek.pyscripts/train-4b-p0.pymx.metal.*Change
Also check
mx.get_peak_memory(may already be correct).No
mx.metal.*calls found anywhere in the repo. The referenced scripts (train-4b-lek.py,train-4b-p0.py) are not committed — these are local training scripts on the M3. The deprecated API calls exist only in Virgil's local environment, not in tracked code.Closing as not applicable to the repo.