-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Build Fail with invalid numeric argument '/Wno-error' #14369
Comments
This problem is caused by OpenXLA |
What is Triton being used for by JAX? I thought it was an alternative to CUDA for writing efficient mathematical primitives and is accessible to JAX users via jax-trition. I wonder if it would be possible to make it an optional component of JAX build? |
@cloudhan I think that's an oversight, I'm following up with the owners of the OpenXLA Triton fork. (For almost all changes, you should send them to upstream Triton, but the Bazel BUILD files aren't upstream so they have to be patched in the fork). @adam-hartshorne XLA is using Triton internally on GPU for code generation of certain fusions. So it's not easy to make it optional and even if we could we'd regress performance for some models. |
@cloudhan If you share what fixes are needed, I can apply them for now. |
@hawkinsp Even with some
So, it will need some patches toward trition upstream. I might take some look when I am free. |
If all those fixed, you will get another link error as follows:
|
@hawkinsp This is the patches for openxla triton on 2c3853269281da6742cf469a5ca5772947d271ce MSVC is bitching about |
There is now a new issue with the use of Triton in JaxLib 0.4.6 (see attachment for full error readout)
Windows doesn't have the dlopen API, and thus there is no dlfcn.h header. |
This particular issue is fixed, but we need the following patch to
That's it, though. |
openxla/xla@972cd21 fixed this (at XLA head). |
Description
Using the following build command
python .\build\build.py --enable_cuda --cuda_path="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7" --cudnn_path="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7" --cuda_compute_capabilities="7.5" --cuda_version="11.7" --cudnn_version="8.4.0" --noenable_rocm --noenable_tpu
the build fails with a series of invalid numeric argument '/Wno-error' errors as follows.
What jax/jaxlib version are you using?
jaxlib v0.4.3, jax 0.4.3
Which accelerator(s) are you using?
GPU
Additional system info
Windows 10, Python 3.9, Cuda 11.7, Cudnn 8.4.0
NVIDIA GPU info
No response
The text was updated successfully, but these errors were encountered: