Sub0X/Siliv
关于
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 (Silicon VRAM) — A simple macOS menu‑bar utility to adjust Apple Silicon GPU VRAM allocation
Topics:
macos apple-silicon vram menu-bar python
📋 Table of Contents
- About
- Quickstart
- Features
- Requirements
- Installation
- Running from Source
- Building a .dmg
- Usage Notes
- Support & Donations
🔍 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.
🚀 Quickstart
- Download the latest release from the GitHub Releases page.
- Move
Siliv.appto your/Applicationsfolder. - Launch Siliv and grant administrator privileges when prompted.
- 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 to0. - Auto‑Refresh
Periodically updates without relaunching.
🛠️ Requirements
- macOS: Ventura (13) or Sonoma (14) with
debug.iogpu.wired_limitoriogpu.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:
- Install tools
pip install pyinstaller brew install create-dmg - Build
./scripts/build_dmg.sh - Find your
.dmgindist/.
📝 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:
sysctlchanges 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!
Enjoy fine‑tuning your Apple Silicon VRAM with ease!
探索相关项目
加载中…
