-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Enhancement]: IBM Power (ppc64le) support #29566
Comments
cc: @seth-priya |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Great work. |
Hi @xiaofan-luan You can request a ppc64le node for your CI from this link: Also, I have successfully built and tested Milvus 2.3.3 using our patches on Ubuntu 22.04 and RHEL 9.3, on both x86_64 and ppc64le. You will need to create a repo for "cmake/3.28.3@milvus/dev" to host cmake binaries for both Intel and Power. I hope that's fine. cc: @seth-priya |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
keep this |
@sumitd2 I'm not very familiar with the compilation part. We can keep it as long as there is simple script that can run for milvus to build on Power series. This seems to be a large pr so let's try to do this
|
Hi @xiaofan-luan, we are working on the SIMD optimizations and the PR. Will get back to you on this. |
@alexanderguzhva |
@sumitd2 I've noticed a wave of AIX-related PRs to the Faiss baseline. I will propagate these changes to our Faiss fork in Knowhere. Please feel free to let me know if you need any assistance with Faiss/Knowhere as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @xiaofan-luan, couple of quick points here:
Let me know your thoughts. cc: @seth-priya |
@alexanderguzhva could you help with the IBM team with the milvus side change? |
@locustbaby could you try to request a powerPC machine for the basic ci/cd? |
we also need your help to finish the power pc compile. is there a pr for this issue? |
@xiaofan-luan We built 2.3.3 and its rather old now. I am building 2.4.1 on RHEL 9.3 since the afternoon and on the face of it, it looks like it requires minimal changes. |
sure @locustbaby can help you to do the setup |
@sumitd2 I've submitted a ticket#33429 for a powerpc |
@locustbaby We have received your request, and it has been approved. Now its a matter of the administrator creating the VM, shouldn't be long. |
@locustbaby OSL has created the VM but they are waiting on a GPG key from you to provide access:
|
@sumitd2 I'm not very familiar with OSL, where should I submit the GPG key, I didn't receive any email about this. |
@sumitd2 zilliztech/knowhere#754 |
@alexanderguzhva it worked, thank you! There is another error during the build (
|
@sumitd2 yep, I believe that this is out of my immediate knowledge, sorry about that |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@haorenfsa see that there is a problem for sonic on ppc arch. guess it dosn't support ppc as well. can we compile it as an optional? |
@xiaofan-luan I am currently working on building master, and have already fixed this error by creating a sonic_ppc64le.go which uses encoding/json. |
/assign |
@sumitd2 to save the work, I think we could just disable sonic json for ppc64le. |
@sumitd2 I just checked the code, and it's already optional. So we can just use |
@haorenfsa That will disable it for every architecture, so why would you want to do that? I have already done the work, just needs a PR. |
Um, I think you may have misunderstood. What I meant is that you can turn it off when compiling on powerPC. We still keep it on by default for other architectures. |
And of course it's great that you implement it for ppc. Your patch is very welcomed. But for other not covered architectures, like |
@xiaofan-luan @locustbaby cc: @seth-priya |
could you helo to invesigate on that? Let's merge this pr asap |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@sumitd2 @locustbaby |
@locustbaby I need access to the ppc64le OSU server you were assigned. Thanks. |
Sorry missed, do you need the key?在 2024年12月2日,23:09,sumitd2 ***@***.***> 写道:
@locustbaby I need access to the ppc64le OSU server you were assigned. Thanks.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
yes, I need the IP and the credentials. You can send it on sumit.dubey2 at ibm dot com |
@sumitd2 Just sent it to you, contact me if any issue. |
Hi @alexanderguzhva , I am in the process of setting up a ci job for ppc64le which would run on an ubuntu 22.04 agent, and getting the following errors while building knowhere:
xmmintrin.h
This will have to be defined to silence this error. Can you please help fix them? Thanks. |
@sumitd2 I got a bit confused.
#ifdef USE_RPM
#include <openblas/cblas.h>
#elif USE_DEB
#include <cblas.h>
#else
static_assert("?!!");
#endif
Thanks |
Is there an existing issue for this?
What would you like to be added?
I belong to the IBM Power porting team. We have recently developed patches to build Milvus on ppc64le, and would like to open a PR to upstream the changes to this repo. The major changes were adjusting the versions for some conan installed dependencies, and creating a local cmake repo for conan because the conan binary package for cmake currently does not have power binaries. So we need to somehow find a way to ensure cmake supports power, and any future dependency version modifications work on all architectures. Do you have any suggestions?
Why is this needed?
There are customers who wish to use Milvus on Power.
Anything else?
ppc64le/build-scripts#3467
The text was updated successfully, but these errors were encountered: