asg017 / sqlite-vec

A vector search SQLite extension that runs anywhere!
Apache License 2.0
4.23k stars 134 forks source link

linux-aarch64 support #131

Open amirmolavi opened 3 weeks ago

amirmolavi commented 3 weeks ago

I am trying to install sqlite-vec via pixi on a linux-aarch64 platform and it fails

x failed to solve the pypi requirements of 'notebooks' 'linux-aarch64' |-> failed to resolve pypi dependencies `-> Because sqlite-vec==0.1.3 has no wheels with a matching platform tag and only sqlite-vec<=0.1.3 is available, we can conclude that sqlite- vec>=0.1.3 cannot be used. And because you require sqlite-vec>=0.1.3, we can conclude that your requirements are unsatisfiable.

  hint: Pre-releases are available for sqlite-vec in the requested
  range (e.g., 0.1.4a2), but pre-releases weren't enabled (try:
  `--prerelease=allow`)
acmiyaguchi commented 2 weeks ago

Issue #110 seems to be related too. I've personally been running into issues trying to install the package on an macbook air m1 inside of docker (arm image).

9.963   Unable to find installation candidates for sqlite-vec (0.1.3)
9.964 
9.964   at /usr/local/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
9.970        70│ 
9.970        71│             links.append(link)
9.970        72│ 
9.970        73│         if not links:
9.970     →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
9.970        75│ 
9.970        76│         # Get the best link
9.970        77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
9.970        78│ 
9.970 
9.970 Cannot install sqlite-vec.
acmiyaguchi commented 2 weeks ago

I wonder if the cosmopolitan builds could be used for aarch64. It looks like the biggest limitation to arm builds is that github doesn't support arm runners generally at the moment.