Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

System Crash while Running Local AI Models on MBA M1 – Need Help #6198

Unanswered
Tholkappiar asked this question in Q&A
Discussion options

Hey Guys,

I’m currently using a MacBook Air M1 to run some local AI models, but recently I’ve encountered an issue where my system crashes and restarts when I run a model. This has happened a few times, and I’m trying to figure out the exact cause.

Issue:

  • When running the model, my system crashes and restarts.

What I’ve tried:

  • I’ve checked the system logs via the Console app, but there’s nothing helpful there—perhaps the logs got cleared, but I’m not sure.

Question:

  • Could this be related to swap usage, GPU, or CPU pressure? How can I pinpoint the exact cause of the crash? I’m looking for some evidence or debugging tips that can help confirm this.

Bonus Question:

  • Is there a way to control the resource usage dynamically while running AI models? For instance, can I tell a model to use only a certain percentage (like 40%) of the system’s resources, to prevent crashing while still running other tasks?

Specs:

MacBook Air M1 (8GB RAM)
Used MLX for the MPS support

Thanks in advance!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /