Running the unmodified Linux amdgpu driver on an iPad
Recorded: Oct. 12, 2026, 8 a.m.
| Original | Summarized |
GitHub - Geramy/LemonSeed-Studio: An iPad IDE with local LLM inference on an AMD GPU over Thunderbolt: the upstream Linux amdgpu driver embedded as DriverKit, LemonSeed Engine, and live GPU telemetry. · GitHub Skip to content Navigation MenuSign inAppearance settingsPlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesCode QualityEnforce quality at mergeAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricingSearch/Sign inSign upAppearance settings You signed in with another tab or window. Reload to refresh your session. Dismiss alert GeramyLemonSeed-StudioRepository navigationCodeIssuesPull requestsActionsProjectsSecurity and qualityInsightsMore items LemonSeed-StudioPublicNotificationsYou must be signed in to change notification settingsFork0 (0)Star8 (8)You must be signed in to star a repositoryAboutAn iPad IDE with local LLM inference on an AMD GPU over Thunderbolt: the upstream Linux amdgpu driver embedded as DriverKit, LemonSeed Engine, and live GPU telemetry.Topicsamdgpucode-editordriverkitegpuideipadipadosllmlocal-llmswiftuiResourcesReadmeLicenseActivityStars8 starsWatchers0 watchingForks0 forksReport repositorymainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History154 Commits154 CommitsFolders and filesNameNameLast commit messageLast commit dateEngineEngine LICENSESLICENSES PackagesPackages StudioStudio ToolchainToolchain docsdocs third_partythird_party .gitignore.gitignore .gitmodules.gitmodules LICENSELICENSE PRIVACY.mdPRIVACY.md README.mdREADME.md THIRD_PARTY.mdTHIRD_PARTY.md View all filesRepository files navigationREADMELicenseMore items LemonSeed Studio mac_linuxgpu: the Layout Getting the source Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community Docs Contact Manage cookies Do not share my personal information You can’t perform that action at this time. |
LemonSeed Studio is presented as an integrated application designed for the iPad platform, functioning as an Integrated Development Environment (IDE) that leverages local large language model (LLM) inference capabilities directly on an AMD GPU connected via Thunderbolt. The core innovation of the project lies in embedding critical, upstream components directly into the application to achieve efficient, on-device machine learning execution. The architecture of LemonSeed Studio is built upon the tight integration of several specialized modules. The management of the underlying hardware interaction is handled by the mac_linuxgpu submodule, which embeds the unmodified upstream Linux amdgpu and amdkfd driver. This driver is integrated into the application as a DriverKit extension, allowing the iPad to directly drive an AMD GPU housed within a Thunderbolt enclosure. This driver functionality serves as the bridge between the operating system layer and the physical GPU hardware. The computational aspect, specifically the LLM inference, is managed by the LemonSeed Engine. This engine runs on the GPU, utilizing its HSA runtime and leveraging technologies such as HRX and Loom to facilitate efficient parallel processing for the inference tasks. Furthermore, live GPU telemetry is provided through the amdgpu_mtopg submodule, which functions as a GPU monitor, offering real-time metrics necessary for monitoring performance and thermal management during the operation. The project structure further delineates these functional components into distinct submodules for modularity: the GPU driver, the inference engine, and the GPU monitor. This separation allows the core functionality to be logically organized, with the GPU driver embedded as DriverKit, the inference engine as the LemonSeed Engine, and the telemetry as the amdgpu_mtopg monitor. The method for obtaining the source code involves cloning the repository and subsequently updating the required submodules, which ensures that the necessary dependencies, including the driver, engine, and telemetry components, are correctly integrated. The project adheres to flexible licensing options, available under either the MIT or GPL-2.0 licenses for the main code, while the bundled components maintain their individual licenses detailed in the associated documentation. This setup positions LemonSeed Studio as a complex, layered system that effectively operationalizes advanced GPU hardware and machine learning frameworks on a mobile embedded system. |