Skip to content

infini-gram: Add version 2.6.0 - #3065

Draft
luhenry wants to merge 1 commit into
mainfrom
infini-gram
Draft

luhenry wants to merge 1 commit into
mainfrom
infini-gram

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Builds a pybind11 C++20 n-gram index engine plus a bundled cargo build --release indexing binary, both from source. Upstream publishes no riscv64 wheel (and no sdist at all, so the build checks out the release tag).

Mirrors upstream's own pkg/pyproject.toml cibuildwheel config (rustup install before-build, cp3*-manylinux*).

Differs from upstream

  • Scoped CIBW_BUILD to one interpreter per matrix job - upstream's own config builds every interpreter in one invocation.

Testing

  • same as upstream (none configured by upstream's own cibuildwheel table)

License: OK. Apache-2.0; no third-party binaries vendored - the rust_indexing binary and the C++ extension are both compiled from the checked-out source, and the dependency crates (zstd, crossbeam, filebuffer, clap, glob) are all permissively licensed pure Rust.

Verified no CUDA/GPU code and no byte-order/pointer-size assumptions that would be riscv64-specific: the C++ engine uses plain POSIX mmap/size_t/fixed-width ints throughout.

Builds the real upstream pybind11 C++20 extension plus the bundled
rust_indexing binary from source (no sdist upstream, so checked out
at the release tag). No CUDA/GPU, pure Rust deps (zstd/crossbeam/
filebuffer/clap/glob), Apache-2.0.
luhenry added a commit that referenced this pull request Oct 13, 2026
@luhenry
luhenry marked this pull request as draft October 14, 2026 11:34

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant