Skip to content

Proposal: Add GGML Tensor Backend Support for Cross-Platform GPU Acceleration #1623

@oh-tarnished

Description

@oh-tarnished

Hi team,

I’ve been exploring the architecture of Knowhere and had an idea that could potentially improve portability and hardware abstraction across different platforms.

Would the maintainers be open to introducing support for the GGML tensor library as a backend abstraction for GPU operations across indexing/search algorithms?

The motivation is:

  • Enable cross-platform GPU acceleration with a lightweight tensor abstraction layer
  • Reduce dependency coupling to vendor-specific compute paths
  • Allow Milvus at the upper layer to remain more hardware/backend agnostic
  • Improve support for heterogeneous environments (CUDA, Metal, Vulkan, CPU fallback, etc.)
  • Potentially simplify deployment on edge/local AI systems and Apple Silicon environments

The idea would be to gradually move algorithmic compute paths toward tensor operations that can be mapped through GGML-compatible backends while preserving existing optimized implementations where needed.

I’d be happy to contribute and submit PRs for this effort if the direction aligns with the roadmap or maintainers’ interests.

Would love to hear thoughts or concerns around feasibility, architecture fit, or preferred integration strategy.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions