أداة

هامش الذكاء الاصطناعي المحلي

مجاني للعرض، وPro للتغيير

تحقق مما إذا كان نموذج محلي سيتسع في ذاكرة جهاز Mac قبل أن تنزّله أو تحمّله.

Planned for after 1.3. The roadmap shows what is built and what is still unchecked on real Macs.

The problem

Downloading a local model is a long wait, and the failure comes at the end: it will not load, or it loads and your Mac starts swapping. The size on the download page is only part of the answer, because the context length you choose adds memory too.

Local AI headroom answers the question first. You pick the model size and context. Hedroom estimates what it needs, compares that with what your Mac can give a model right now, and names the line that decided the answer.

How it works

  1. Pick. Choose a model family and size, 4-, 8- or 16-bit, and a context from 4K to 128K. Hedroom names families and sizes only; it recommends no product.
  2. Estimate. It adds up the weights, the context cache (which grows with the context) and runtime overhead, each shown as "about". A 15% margin covers the fact that layer and head counts are typical for a family, not read from your file.
  3. Compare. The total is checked against the GPU memory limit and against what is free right now (free memory plus cached files; compressed memory does not count).
  4. Answer. Fits, Tight, Make room or Won't fit, with the line that decided it.
  5. Act, if you choose. Make room lists apps to relaunch or quit through the normal safety checks. On some Macs, Hedroom can raise the GPU limit until you restart, after a confirmation.

What you will see

A big verdict, "Fits.", "Tight.", "Fits, after making room." or "Won't fit.", with a sentence naming the line that decided it and the parts of the estimate: "Weights about … · context about … · runtime about … The estimate can be off by about 15%." A gauge shows what the model needs against two markers: what the GPU can use and what is free right now.

Beside it sits the GPU memory limit control, with a warning always on screen (less memory for macOS, your Mac can slow down or become unstable, it lasts until you restart), and a list of model apps Hedroom finds running: Ollama, LM Studio, Jan and GPT4All, with what they use. On a 16 GB Mac the limit control is off and says why.

A worked example

Example, not real data

A mid-size model on a 16 GB Mac

Say you want to try a Llama-family model at 8B parameters, 4-bit, with an 8K context. Hedroom estimates weights of about 4.8 GB, context of about 1.1 GB and runtime of about 0.8 GB: about 6.7 GB, or about 7.7 GB with the margin.

macOS lets the GPU use about two-thirds of a 16 GB Mac's memory by default, around 10.7 GB, so the GPU limit is not the problem. But say Chrome and Slack are open and free memory plus cached files reads about 7 GB. The low estimate fits and the high one does not, so the verdict is Tight, and the Make room list shows which apps hold the most. Hedroom promises no speed: it estimates memory only.

Details and limits

ما يفعله

  • تختار عائلة نموذج وحجمًا، و4 أو 8 أو 16 بت، وطول سياق من 4K إلى 128K.
  • يقدّر ما يحتاجه (الأوزان وذاكرة السياق ووقت التشغيل)، ثم يقارنه بما يستطيع GPU استخدامه وبما هو متاح الآن.
  • يجيب: يتسع، أو ضيّق، أو وفّر مساحة، أو لن يتسع، مع السطر الذي حسم ذلك.
  • «وفّر مساحة» يقترح إعادة فتح أو إنهاء التطبيقات التي تحتجز الذاكرة، عبر إجراءات Hedroom المعتادة.
  • يلاحظ Ollama وLM Studio وJan وGPT4All عند تشغيلها، ويقول ما تستخدمه.
  • يستطيع رفع حد ذاكرة GPU حتى إعادة التشغيل، بعد تأكيد يوضح كم يتبقى لـ macOS.

What it will not do

  • تنزيل نموذج أو تحميله أو تشغيله، أو التحدث إلى تطبيق نماذج.
  • الوعد بالسرعة. يقدّر الذاكرة فقط.
  • عرض حد يترك لـ macOS أقل من 8 GB.
  • رفع الحد دون تأكيدك. عندما يُنهى Hedroom يعيد الحد إلى ما كان عليه، ما لم تغيّره بنفسك.

Limits

  • قد يختلف التقدير بنحو 15%. أرقام الطبقات والرؤوس نموذجية لعائلة النموذج، ولا تُقرأ من ملفك.
  • لا ينشر macOS حد GPU الافتراضي. يعرض Hedroom قراءته الخاصة: نحو ثلثي الذاكرة حتى 36 GB، وثلاثة أرباعها فوق ذلك.
  • على أجهزة Mac بذاكرة 8 أو 16 أو 18 أو 24 GB، لا يعرض Hedroom حدًا أعلى، لأن أقصى ما يسمح به لا يزيد عمّا يمنحه macOS لـ GPU بالفعل.
  • يحتاج رفع الحد إلى الأداة المساعدة نفسها التي يحتاجها التحكم في المراوح، وتتطلب موافقة في إعدادات النظام. الحد الأعلى يترك مساحة أقل لـ macOS، وقد يصبح جهاز Mac بطيئًا أو غير مستقر إذا نفدت الذاكرة. يستمر حتى إعادة التشغيل.

مجاني أم Pro

الفحص وقراءة حد ذاكرة GPU مجانيان. رفع الحد جزء من Pro. إعادة ضبطه لا تُقفل أبدًا.

Raising the limit changes how your Mac behaves, which is why it is Pro.

تشمل التجربة لمدة 7 أيام كل ما في Pro. جدول الأسعار الكامل.

Questions people ask

Does Hedroom download or run the model?

No. It never downloads, loads or runs a model, and never talks to a model app. It estimates memory and notices which model apps are running.

How accurate is the estimate?

It can be off by about 15%. The weights come from a simple formula, and layer and head counts are typical for the family, not read from your file. The verdict checks both the estimate and the estimate plus margin, so a borderline case reads Tight rather than Fits.

Is raising the GPU memory limit safe?

It leaves less memory for macOS, and your Mac can slow down or become unstable if memory runs short. Hedroom never offers a limit that leaves macOS less than 8 GB, shows how little is left before you confirm, puts the limit back when it quits, and the setting goes away at restart anyway.

Does it need the helper?

Checking is free and needs no helper. Raising or resetting the limit uses the same helper as fan control, which requires approval in System Settings. Approving the helper has the steps.

اعرف ما الذي يُبطئ جهاز Mac.

المراقبة مجانية، بلا بطاقة وبلا حساب. يبدأ Pro، مع تجربة مجانية لمدة 7 أيام، مع أول إصدار موقّع. إذا لم يستطع أن يُريك فرقًا قابلًا للقياس، فلا تُبقِه.