-
Notifications
You must be signed in to change notification settings - Fork 397
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
[platform set error][GPU-cuda]NOT_FOUND: could not find registered compiler for platform CUDA -- was support for that platform linked in? #15007
Comments
Can you share the contents of your |
Thanks a lot for replying! more detail and similar question is in #15054 ,i had tried gpu test in xla,but not worked,return No test targets were found, yet testing was requested. |
Hmm. This looks all good. Would you mind sharing the entire Bazel output? I'm mainly interested in what tests are failing with that error message. |
I finally solved this problem by modify BUID for stablehlo_compile_test.cc. This test is supportted for cpu, so gup compiler is not registed yet. |
I also encountered the same problem. How to modify it specifically? |
Ah, okay, now I'm getting the problem. Yes, you need to link the gpu_plugin (or something that links the gpu_plugin), otherwise stream executor will tell you the platform is not available. @huhuiqi7 Is that helping you as well? If not, can you share some more details like exact error messages and build logs? |
./configure.py --backend=CUDA
bazel build --test_output=all --spawn_strategy=sandboxed //xla/...
when set platform cuda,TF_ASSERT_OK_AND_ASSIGN(se::Platform * platform, PlatformUtil::GetPlatform("cuda")); get an error:NOT_FOUND: could not find registered compiler for platform CUDA -- was support for that platform linked in?
how can i solve it?
The text was updated successfully, but these errors were encountered: