-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't run Keras example using PlaidML backend on MacOs on GPU #290
Comments
Thanks for reporting @robinhad. I'm from the PlaidML team. Does this code work if you use PlaidML with OpenCL instead of Metal? You can configure PlaidML for the nGraph-TF bridge using the following instructions. As a note: we've had several open issues with Metal on MacOS Mojave (10.14) which we expect to be fixed in Catalina (10.15), but we have not yet been able to upgrade our build/test machines to Catalina to test things out. Either way, this information is helpful for our team to resolve any issues with Catalina. |
Thanks for response, @dgkutnic. I run with OpenCL and it crashed. Error looks pretty similar to the Metal one. [WARN] 2019-10-21T18:22:49z src/ngraph/runtime/plaidml/plaidml_logger.cpp 44 Code was: [WARN] 2019-10-21T18:22:49z src/ngraph/runtime/plaidml/plaidml_logger.cpp 44 Failed to build program kernel_c45_sdk_0: CL_BUILD_PROGRAM_FAILURE [WARN] 2019-10-21T18:22:49z src/ngraph/runtime/plaidml/plaidml_logger.cpp 44 Code was: libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::promise_already_satisfied >: The state of the promise has already been set. |
Thanks for this info. We'll look into this and let you know once we've triaged the errors you are seeing. |
is there any news regarding this? |
@dgkutnic, tried it again on 5700 XT - works fine without crash |
OS: macOS 10.15
Python: 3.6.9
Tensorflow: 1.14
Ngraph installed from PyPI.
The following code:
Throws the following error:
CPU backend works fine.
Seems like it cannot cast "metal:float4" to "float4".
The text was updated successfully, but these errors were encountered: