Hacker News· joshcsimmons·· 7 天前AI 评分38
LemonSeed Studio:在 iPad 上运行未修改的 Linux amdgpu 驱动并本地推理 LLM
Running the unmodified Linux amdgpu driver on an iPad
AI 导读
LemonSeed Studio 是一款 iPad 应用,将未修改的上游 Linux amdgpu + amdkfd 驱动以 PCIDriverKit 扩展形式嵌入,驱动雷雳外接显卡坞中的 AMD GPU。
正文 · 原文
An editor and IDE for iPad with on-device LLM inference on an AMD GPU.
LemonSeed Studio is a single iPad app. It bundles:
- mac_linuxgpu: the
unmodified upstream Linux
amdgpu+amdkfddriver, embedded in the app as a PCIDriverKit extension. It drives an AMD GPU in a Thunderbolt enclosure. - LemonSeed Engine: the inference engine, running on that GPU through its HSA runtime and HRX/Loom.
- amdgpu_mtopg: live GPU telemetry.
Layout
third_party/mac_linuxgpu GPU driver (submodule)
third_party/LSE inference engine (submodule)
third_party/amdgpu_mtopg GPU monitor (submodule)
Getting the source
git clone --recurse-submodules <repository>
Or, in an existing clone:
git submodule update --init
mac_linuxgpu fetches its own pinned Linux sources sparsely on first build, so its nested kernel submodule does not need to be cloned recursively.
License
The original code is available under MIT or GPL-2.0-only, at your option. See LICENSE. Bundled and submodule components keep their own licenses; see THIRD_PARTY.md.
来源:Hacker News · github.com