5 ms·
For the curious, Apple has an analogous Tensorflow Metal plugin to allow for Apple Silicon (and AMD GPU) acceleration using the same plugin architecture. https
by dweekly 4y ago
For the curious, Apple has an analogous Tensorflow Metal plugin to allow for Apple Silicon (and AMD GPU) acceleration using the same plugin architecture.
https://developer.apple.com/metal/tensorflow-plugin/ https://developer.apple.com/metal/tensorflow-plugin/
- muxamilian 4y agoWhich is basically unusably buggy. For example, tf.sort only sorts up to 16 values and overwrites the rest with -0. Apparently not fixed for over one year: https://developer.apple.com/forums/thread/689299 https://developer.apple.com/forums/thread/689299 Also, tf.random always returns the same random numbers: https://developer.apple.com/forums/thread/69705 https://developer.apple.com/forums/thread/69705 Although I guess these bugs are not the fault of Tensorflow's plugin architecture but rather Apple's implementation.
- wongarsu 4y agoI believe the second link should be https://developer.apple.com/forums/thread/697057 https://developer.apple.com/forums/thread/697057
- londons_explore 4y agoIt is sorta the fault of tensorflow... Tensorflow should have had a test suite for plugins that verifies that all operations at least lead to correct results no matter which backend is in use.
- Anunayj 4y ago> Also, tf.random always returns the same random numbers: reminds of this particular xkcd [1], How someone fucks up that bad is beyond me. 1. https://xkcd.com/221/ https://xkcd.com/221/