chroma icon indicating copy to clipboard operation
chroma copied to clipboard

[Install issue]:

Open DahlitzFlorian opened this issue 2 years ago • 5 comments

What happened?

Currently, the build for hnswlib fails on ppc64le as the compiler flag -march=native is unknown. The equivalent on ppc64le is -mcpu=native. This PR (https://github.com/chroma-core/hnswlib/pull/12) fixes this issue, hence, makes ChromaDB usable on ppc64le.

Versions

Chroma v0.4.16, Python 3.10, ppc64le

Relevant log output

No response

DahlitzFlorian avatar Nov 09 '23 08:11 DahlitzFlorian

Hi @DahlitzFlorian - wow! PowerPC! Haven't seen that in a while, we will try to get this merged in a few weeks, just need to verify it on our end. Are you able to workaround?

HammadB avatar Nov 10 '23 18:11 HammadB

Hi @HammadB - thanks for your fast reply! Yes, I got it up and running by simply cloning your hnswlib repository, adjusting the setup.py as proposed in the aforementioned PR and building it from source. Looking forward to the new release!

DahlitzFlorian avatar Nov 13 '23 14:11 DahlitzFlorian

Hi @HammadB - do you have the possibility to test it on ppc64le or do you need help with it?

DahlitzFlorian avatar Nov 22 '23 09:11 DahlitzFlorian

Hi @HammadB, what's the current status of this issue? Are you able to test the proposed changes to the hnswlib-repository and release a new version of chromadb building out-of-the-box on ppc64le? Please let me know if you need help or resources!

DahlitzFlorian avatar Mar 13 '24 08:03 DahlitzFlorian

Hi everyone, supporting chromadb on ppc64le architecture doesn't require anything else but setting the correct compiler flag. There is no additional maintenance overhead. It would be great if my proposed PR in the hnswlib project could be merged. Let me know if you need help testing it.

Thanks in advance!

DahlitzFlorian avatar Nov 26 '24 14:11 DahlitzFlorian