Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Install issue]: #1363

Open
DahlitzFlorian opened this issue Nov 9, 2023 · 5 comments
Open

[Install issue]: #1363

DahlitzFlorian opened this issue Nov 9, 2023 · 5 comments
Labels
installation trouble trouble building or installing chroma

Comments

@DahlitzFlorian
Copy link

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 (chroma-core/hnswlib#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 DahlitzFlorian added the installation trouble trouble building or installing chroma label Nov 9, 2023
@HammadB
Copy link
Collaborator

HammadB commented Nov 10, 2023

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?

@DahlitzFlorian
Copy link
Author

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
Copy link
Author

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

@DahlitzFlorian
Copy link
Author

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
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation trouble trouble building or installing chroma
Projects
None yet
Development

No branches or pull requests

2 participants