Skip to content

Add LoongArch64 support - #1812

Open
Chris-wh233 wants to merge 1 commit into
zilliztech:mainfrom
Chris-wh233:loongarch64
Open

Add LoongArch64 support#1812
Chris-wh233 wants to merge 1 commit into
zilliztech:mainfrom
Chris-wh233:loongarch64

Conversation

@Chris-wh233

Copy link
Copy Markdown

This PR adds basic support for LoongArch64. The minimum target CPU is a LoongArch64 CPU that supports LSX.

Native build and testing have passed.

  • Debian forky

  • GCC/G++ 14

  • Conan 2.28.1

  • CPU with LSX and LASX

Cross-build validation

A separate GitHub Actions workflow successfully completed:

  • GCC 14 LoongArch64 cross-build

  • Sparse codec source smoke tests

  • Full Knowhere build and selected unit tests

Workflow run:

https://github.com/Chris-wh233/knowhere/actions/runs/34106005065

Corresponding commit:

Chris-wh233@cbaeffe

@sre-ci-robot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Chris-wh233
To complete the pull request process, please assign foxspy after the PR has been reviewed.
You can assign the PR to them by writing /assign @foxspy in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot

Copy link
Copy Markdown
Collaborator

Welcome @Chris-wh233! It looks like this is your first PR to zilliztech/knowhere 🎉

@mergify

mergify Bot commented Sep 9, 2026

Copy link
Copy Markdown

@Chris-wh233 🔍 Important: PR Classification Needed!

For efficient project management and a seamless review process, it's essential to classify your PR correctly. Here's how:

  1. If you're fixing a bug, label it as kind/bug.
  2. For small tweaks (less than 20 lines without altering any functionality), please use kind/improvement.
  3. Significant changes that don't modify existing functionalities should be tagged as kind/enhancement.
  4. Adjusting APIs or changing functionality? Go with kind/feature.

For any PR outside the kind/improvement category, ensure you link to the associated issue using the format: “issue: #”.

Thanks for your efforts and contribution to the community!.

@Chris-wh233

Copy link
Copy Markdown
Author

/kind improvement

@alexanderguzhva

alexanderguzhva commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

@Chris-wh233 Thanks for the contribution, we're taking a look. You may also wish to add the code to the Faiss (https://github.com/facebookresearch/faiss) baseline that this library depends on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants