is it possible to build the tensorflow C/C++ API with metal support?

most of the build instructions i see for tensorflow-metal focus on installing the python libs for tensorflow with the tensor flow-metal plugin.

is it possible to build the tensorflow dylibs for the C API using this plugin? has anyone done it?

thanks for any ideas!

Answered by Graphics and Games Engineer in 694418022

Unfortunately no, the Pluggable interface as its currently designed and its device discovery mechanism depends on Python packaging location : 'site-packages/<plugin_devices>'. Potentially that can be extended so the C/C++ API dylibs can load the Plugin devices as well. Can you please bring this up on Tensorflow Developers forums.

Accepted Answer

Unfortunately no, the Pluggable interface as its currently designed and its device discovery mechanism depends on Python packaging location : 'site-packages/<plugin_devices>'. Potentially that can be extended so the C/C++ API dylibs can load the Plugin devices as well. Can you please bring this up on Tensorflow Developers forums.

thanks for the info - that's too bad but this keeps me from going down a rathole. the tensorflow dev forum you are referring to is on tensorflow.org, correct? i can post this question over there.

is it possible to build the tensorflow C/C&#43;&#43; API with metal support?
 
 
Q