{"id":41455445,"url":"https://github.com/adamydwang/mobilellama","last_synced_at":"2026-01-23T15:36:53.854Z","repository":{"id":204157734,"uuid":"706808036","full_name":"adamydwang/mobilellama","owner":"adamydwang","description":"a lightweight C++ LLaMA inference engine for mobile devices","archived":false,"fork":false,"pushed_at":"2023-10-28T14:56:56.000Z","size":41,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-28T22:42:11.149Z","etag":null,"topics":["cpp","inference","llama","llm","openblas"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamydwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-18T16:50:53.000Z","updated_at":"2025-10-27T11:10:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d8808d4-6894-46aa-83b1-248fdcfd99c4","html_url":"https://github.com/adamydwang/mobilellama","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":0.5,"last_synced_commit":"aef32fa172edda5a3fc35085de6d2d81f1b4a6a9"},"previous_names":["adamydwang/mobilellama"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamydwang/mobilellama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamydwang%2Fmobilellama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamydwang%2Fmobilellama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamydwang%2Fmobilellama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamydwang%2Fmobilellama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamydwang","download_url":"https://codeload.github.com/adamydwang/mobilellama/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamydwang%2Fmobilellama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpp","inference","llama","llm","openblas"],"created_at":"2026-01-23T15:36:53.600Z","updated_at":"2026-01-23T15:36:53.757Z","avatar_url":"https://github.com/adamydwang.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobileLLaMA\n## A Lightweight C++ Implementation of LLaMA for Mobile Devices\n\n# 1. Milestones\n\n- [ ] Naive version: pure c++ implementation of Matrix manipulation\n  - [x] C++ Inference Engine\n  - [ ] Model Transform tool: PyTorch model to MobileLLaMA model \n- [ ] OpenBLAS version: speedup matrix manipulation by OpenBLAS\n\n\n# 2. Build and Run\n\n## How to build?\n\n```\n$ git clone --recurse-submodules https://github.com/adamydwang/mobilellama.git\n$ cd mobilellama\n$ cd deps \u0026\u0026 bash build.sh   #build thirdparty dependencies\n$ mkdir ../build \u0026\u0026 cd ../build \u0026\u0026 cmake .. \u0026\u0026 make\n```\n\n***Reminds:*** executables and libraries are output to directories: *lib* and *bin*\n\n## How to run demo\n\n***!!!caution: model transformer tool has not been ready, so can not run yet***\n\n```\n$ cd bin\n$ ./demo ${model_path} ${tokenizer_path}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamydwang%2Fmobilellama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamydwang%2Fmobilellama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamydwang%2Fmobilellama/lists"}