{"id":18671918,"url":"https://github.com/karn/llama-droid","last_synced_at":"2025-07-28T09:10:01.353Z","repository":{"id":214445247,"uuid":"736545225","full_name":"Karn/llama-droid","owner":"Karn","description":"PoC for running alpaca.cpp for on-device, offline, inference on Android","archived":false,"fork":false,"pushed_at":"2023-12-28T08:02:29.000Z","size":283,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T13:02:45.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Karn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-28T07:36:54.000Z","updated_at":"2024-12-16T10:33:40.000Z","dependencies_parsed_at":"2023-12-28T08:47:41.993Z","dependency_job_id":null,"html_url":"https://github.com/Karn/llama-droid","commit_stats":null,"previous_names":["karn/llama-droid"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Karn/llama-droid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fllama-droid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fllama-droid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fllama-droid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fllama-droid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karn","download_url":"https://codeload.github.com/Karn/llama-droid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fllama-droid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267490589,"owners_count":24096001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T09:08:30.273Z","updated_at":"2025-07-28T09:10:01.323Z","avatar_url":"https://github.com/Karn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# LLama-Droid\n\nPoC for running [Alpaca](https://github.com/rupeshs/alpaca.cpp) on-device. That uses a modified version of alpaca.cpp to perform inference.\n\n\u003cimg width=\"300px\" src=\"assets/demo.png\" /\u003e\n\n### Requirements\n- A device with a \u003e8GB storage, and enough RAM to load the model into memory (\u003e6GB). Download [ggml-alpaca-7b-q4.bin](https://github.com/Karn/alpaca.cpp/tree/master?tab=readme-ov-file#get-started), rename it to `alpaca7b.bin` and upload it to the device in the Application Files Directory under `models`.\n- Time, since on-device inference is currently incredibly slow.\n\n### Future work\n- What does GPU accelerated inference look like?\n- mmap? How, and does it make a difference.\n- Consider using a smaller model to improve speed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarn%2Fllama-droid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarn%2Fllama-droid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarn%2Fllama-droid/lists"}