{"id":29599764,"url":"https://github.com/infinitensor/infer.cc","last_synced_at":"2025-10-17T06:48:53.988Z","repository":{"id":257063159,"uuid":"856237330","full_name":"InfiniTensor/infer.cc","owner":"InfiniTensor","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-26T10:58:35.000Z","size":140,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T07:55:40.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/InfiniTensor.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-12T08:23:36.000Z","updated_at":"2025-03-05T02:33:08.000Z","dependencies_parsed_at":"2024-11-14T03:18:15.610Z","dependency_job_id":"e365678c-b3d8-4870-b655-b28d47b280f4","html_url":"https://github.com/InfiniTensor/infer.cc","commit_stats":null,"previous_names":["panzezhong1725/infer.cc","infinitensor/infer.cc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InfiniTensor/infer.cc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Finfer.cc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Finfer.cc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Finfer.cc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Finfer.cc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfiniTensor","download_url":"https://codeload.github.com/InfiniTensor/infer.cc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Finfer.cc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266117930,"owners_count":23879148,"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","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":"2025-07-20T11:34:20.801Z","updated_at":"2025-10-17T06:48:48.953Z","avatar_url":"https://github.com/InfiniTensor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 跨平台统一运行时 C 语言接口 InfiniRT \u0026 微型 C++ 大模型推理引擎 InfiniInfer\n\n## 使用方式\n\n### 配置 XMake\n\n- 配置 XMake（选择硬件平台）\n\n  ```shell\n  xmake f [--nv-gpu/--ascend-npu]=true -cv\n  ```\n\n- 只编译运行时库，不使用多卡通信以及模型推理引擎（默认为打开）\n\n  ```shell\n  xmake f --ccl=false --infer=false -cv\n  ```\n\n### 编译和部署\n\n- 设置 `INFINI_ROOT` 环境变量（推荐，默认安装地址为 `$HOME/.infini`）\n\n  ```shell\n  export INFINI_ROOT=$HOME/.infini\n  export LD_LIBRARY_PATH=$INFINI_ROOT/lib:$LD_LIBRARY_PATH\n  ```\n\n- 编译和部署\n\n  ```shell\n  xmake \u0026\u0026 xmake install\n  ```\n\n### 测试推理引擎\n\n- 需要先编译和部署运行时和推理引擎\n\n  ```shell\n  python test/model/test_llama.py --cuda path/to/model/dir/\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Finfer.cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitensor%2Finfer.cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Finfer.cc/lists"}