Closed karllessard closed 3 weeks ago
javacpp.platform.extension
is not related to tensorflow-core-platform-gpu
, the use of platform
in both names doesn't imply anything. Setting the extension triggers the GPU build, but it makes a tensorflow-core-native:linux-x86_64-gpu
artifact.
To do a custom native build that supports GPU (with the GPU of your choice) you need to pass -Djavacpp.platform.extension=-gpu
in addition to -Pnative-build
(I just noticed that the doc actually says -Dnative-build
but -Pnative-build
would also work and sounds better, I'll update that as well)
This section in
CONTRIBUTING.md
still describes how to buildtensorflow-core-platform-gpu
; which seems to also somehow be defined in the poms?