-
Notifications
You must be signed in to change notification settings - Fork 475
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
Failed to compile pjrt c plugin on GPU with nvcc and clang #16206
Comments
The issue with |
I managed to make progress and compile the pjrt c plugin. I had to set the hermetic cuda enviroment to 12.5.1 build:cuda --repo_env=HERMETIC_CUDA_VERSION="12.5.1"
Still failed, but now pointing to the external cutlass library matrix.h where m.set_slice3x3 had to be fixed to m.set_slice_3x3. (missing underscore) After this above it worked. |
I do not have issue compiling xla pjrt c plugin with clang 19+ recently. |
We can resolve the For example, in XLA, you can add the
Key Changes in
now:
For more details, see the related discussion: |
Hi!
I am having trouble compiling the pjrt c plugin on Archlinux.
Here is the configuration command I am using:
python ./configure.py --backend CUDA --os LINUX --host_compiler CLANG --cuda_compiler NVCC --cudnn_version=9.2.1 --cuda_compute_capabilities=8.9
And the build command:
bazelisk build -c opt //xla/pjrt/c:pjrt_c_api_gpu_plugin.so
error message:
And if I change the NVCC compiler to CLANG then I get a different error:
The text was updated successfully, but these errors were encountered: