infinity

infiniflowApache-2.0活跃维护

面向 LLM 应用的 AI 原生数据库,把稠密向量、稀疏向量、多向量张量和全文检索融合在一起做混合搜索,速度极快。

The AI-native database built for LLM applications, providing incredibly fast hybrid search of dense vector, sparse vector, tensor (multi-vector), and full-text.

v0.7.5发布于 2026-11-05 03:09 UTC4,763star +1 / 7 天457fork同步于 2026-11-10 11:37 UTC

怎么上手

由 README 提炼,执行前请确认
sudo mkdir -p /var/infinity && sudo chown -R $USER /var/infinity
docker pull infiniflow/infinity:nightly
docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly
pip install infinity-sdk==0.7.5
硬件要求按 README 说明

CPU 需 x86_64 并支持 AVX2;系统支持 glibc 2.17+ 的 Linux、Windows 10+(需 WSL/WSL2)与 macOS;Python 需 3.11+。README 未说明 GPU 或显存要求。

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

面向 LLM 应用的 AI 原生数据库,统一支持稠密/稀疏向量、张量与全文的混合检索

面向 LLM 应用的 AI 原生数据库,把稠密向量、稀疏向量、多向量张量和全文检索融合在一起做混合搜索,速度极快。

核心能力

  • 稠密向量、稀疏向量、张量与全文混合检索并支持过滤
  • 内置 RRF、加权求和与 ColBERT 等多种重排器
  • 单二进制架构无外部依赖,部署简单
  • 提供直观的 Python API,可作为模块嵌入 Python
  • 支持字符串、数值、向量等多种数据类型

容易踩的坑

客户端需单独 pip 安装 infinity-sdk,且 README 指定版本 0.7.5;容器使用 --network=host,客户端连接默认端口 23817;Windows 需先启用 WSL/WSL2 与 systemd,Docker Desktop 4.29+ 还需开启 host networking。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.7.5
  1. v0.7.5最新正式版2026-11-05 · 2026-11-05 03:09 UTC

    Release v0.7.5 created from 2fffa346354fb66d69374b4ad7ae040cbae0f731 at 2026-11-05 03:08:50+00:00

  2. v0.7.42026-10-09 · 2026-10-09 04:09 UTC
    查看更新说明

    Release v0.7.4 created from e1bd341a2083f092f83face1d28443f8a341cd8e at 2026-10-09 04:08:57+00:00

  3. v0.7.32026-08-06 · 2026-08-06 04:35 UTC
    查看更新说明

    Release v0.7.3 created from d755c5ad25d9a2749623603f4a89e3e5207c61c6 at 2026-08-06 04:34:58+00:00

  4. v0.7.22026-07-15 · 2026-07-15 09:24 UTC
    查看更新说明

    Release v0.7.2 created from de2298b554d33cdab4ccae48d51af2037fc84f63 at 2026-07-15 10:16:49+00:00

    What's Changed

    Full Changelog: https://github.com/infiniflow/infinity/compare/v0.7.1...v0.7.2

  5. nightlypre-release2026-01-20 · 2026-01-20 14:01 UTC
    查看更新说明

    Release nightly created from b078219d5d4147f787527931eeadab10f9a1c088 at 2026-11-09 13:31:01+00:00

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Infinity is a cutting-edge AI-native database that provides a wide range of search capabilities for rich data types such as dense vector, sparse vector, tensor, full-text, and structured data. It provides robust support for various LLM applications, including search, recommenders, question-answering, conversational AI, copilot, content generation, and many more RAG (Retrieval-augmented Generation) applications.

    ⚡️ Performance

    🌟 Key Features

    Infinity comes with high performance, flexibility, ease-of-use, and many features designed to address the challenges facing the next-generation AI applications:

    🚀 Incredibly fast

    • Achieves 0.1 milliseconds query latency and 15K+ QPS on million-scale vector datasets.
    • Achieves 1 millisecond latency and 12K+ QPS in full-text search on 33M documents.

    See the Benchmark report for more information.

    🔮 Powerful search

    • Supports a hybrid search of dense embedding, sparse embedding, tensor, and full text, in addition to filtering.
    • Supports several types of rerankers including RRF, weighted sum and ColBERT.

    🍔 Rich data types

    Supports a wide range of data types including strings, numerics, vectors, and more.

    🎁 Ease-of-use

    • Intuitive Python API. See the Python API
    • A single-binary architecture with no dependencies, making deployment a breeze.
    • Embedded in Python as a module and friendly to AI developers.

    🎮 Get Started

    This section provides guidance on deploying the Infinity database using Docker, with the client and server as separate processes.

    Prerequisites

    • CPU: x86_64 with AVX2 support.
    • OS:
      • Linux with glibc 2.17+.
      • Windows 10+ with WSL/WSL2.
      • MacOS
    • Python: Python 3.11+.

    Install Infinity server

    Linux x86_64 & MacOS x86_64
    sudo mkdir -p /var/infinity && sudo chown -R $USER /var/infinity
    docker pull infiniflow/infinity:nightly
    docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly
    
    Windows

    If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using Docker. Suppose you've installed Ubuntu in WSL2:

    1. Follow this to enable systemd inside WSL2.

    2. Install docker-ce according to the instructions here.

    3. If you have installed Docker Desktop version 4.29+ for Windows: Settings > Features in development, then select Enable host networking.

    4. Pull the Docker image and start Infinity:

      sudo mkdir -p /var/infinity && sudo chown -R $USER /var/infinity
      docker pull infiniflow/infinity:nightly
      docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly
      

    Install Infinity client

    pip install infinity-sdk==0.7.5
    

    Run a vector search

    import infinity
    
    infinity_obj = infinity.connect(infinity.NetworkAddress("<SERVER_IP_ADDRESS>", 23817)) 
    db_object = infinity_object.get_database("default_db")
    table_object = db_object.create_table("my_table", {"num": {"type": "integer"}, "body": {"type": "varchar"}, "vec": {"type": "vector, 4, float"}})
    table_object.insert([{"num": 1, "body": "unnecessary and harmful", "vec": [1.0, 1.2, 0.8, 0.9]}])
    table_object.insert([{"num": 2, "body": "Office for Harmful Blooms", "vec": [4.0, 4.2, 4.3, 4.5]}])
    res = table_object.output(["*"])
                      .match_dense("vec", [3.0, 2.8, 2.7, 3.1], "float", "ip", 2)
                      .to_pl()
    print(res)
    

    🔧 Deploy Infinity using binary

    If you wish to deploy Infinity using binary with the server and client as separate processes, see the Deploy infinity using binary guide.

    🔧 Build from Source

    See the Build from Source guide.

    📚 Document

    📜 Roadmap

    See the Infinity Roadmap 2025

    🙌 Community