Skip to content
项目

关于

MacOS menu‑bar utility to adjust Apple Silicon GPU VRAM allocation

人工智能与机器学习

这些数字如何统计

可以做什么

  • Menu Bar UtilityOne‑click access from your macOS menu bar.
  • Real‑Time VRAM DisplayShows current GPU‑allocated VRAM and reserved system RAM.
  • Visual Allocation BarGraphical comparison of target VRAM vs. reserved RAM.
  • Custom Slider ControlSet VRAM in MB; snaps to nearest 5 GB interval on release.

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Siliv

Siliv Logo

Siliv (Silicon VRAM) — A simple macOS menu‑bar utility to adjust Apple Silicon GPU VRAM allocation

Build Status
Latest Release Issues

Topics: macos apple-silicon vram menu-bar python


📋 Table of Contents


🔍 About

Siliv provides a convenient way to view and set GPU VRAM allocation on Apple Silicon Macs via sysctl. Whether you need more headroom for graphics‑intensive apps or want to revert to the macOS default, Siliv makes it effortless from your menu bar.

Siliv Application Menu Screenshot

🚀 Quickstart

  1. Download the latest release from the GitHub Releases page.
  2. Move Siliv.app to your /Applications folder.
  3. Launch Siliv and grant administrator privileges when prompted.
  4. Adjust VRAM via the menu‑bar slider—and enjoy!

✨ Features

  • Menu Bar Utility
    One‑click access from your macOS menu bar.
  • Real‑Time VRAM Display
    Shows current GPU‑allocated VRAM and reserved system RAM.
  • Visual Allocation Bar
    Graphical comparison of target VRAM vs. reserved RAM.
  • Custom Slider Control
    Set VRAM in MB; snaps to nearest 5 GB interval on release.
  • Presets
    Quickly apply common VRAM values.
  • Reset to Default
    Restore macOS defaults by setting sysctl to 0.
  • Auto‑Refresh
    Periodically updates without relaunching.

🛠️ Requirements

  • macOS: Ventura (13) or Sonoma (14) with debug.iogpu.wired_limit or iogpu.wired_limit_mb
  • Python: 3.11
  • Dependencies:
    PyQt6
    

📦 Installation

git clone https://github.com/PaulShiLi/Siliv.git
cd Siliv

(Optional) Create & activate a virtual environment

python3 -m venv venv
source venv/bin/activate

Install dependencies

pip install -r requirements.txt

▶️ Running from Source

cd src
python -m siliv.main

The Siliv icon will appear in your macOS menu bar.


🖥️ Building a .dmg

Use the helper script with PyInstaller and create-dmg:

  1. Install tools
    pip install pyinstaller
    brew install create-dmg
    
  2. Build
    ./scripts/build_dmg.sh
    
  3. Find your .dmg in dist/.

📝 Usage Notes

  • Admin Privileges: Changes require administrator rights and will prompt for your password.
  • System Stability: Excessive VRAM allocation may reduce available system RAM.
  • Persistence: sysctl changes may reset after reboot;

❤️ Support & Donations

If Siliv helps you, please consider supporting by watching/starring this repo to help others find this repo more easier!

Buy me a coffee
Buy Me A Coffee


Enjoy fine‑tuning your Apple Silicon VRAM with ease!

探索相关项目

加载中…