Search code examples
google-app-enginegoogle-cloud-platformtensorflowgae-module

Can I use TensorFlow in a Google App Engine module?


I have a data processing module as part of my GAE application. TensorFlow has separate installers for Linux and OSX, which indicates to me that it might not play nicely with the GAE sandbox. Is it possible to use TensorFlow in a GAE module?


Solution

  • Yes. Updated Answer

    From Nicholas's comment:

    It is actually possible in F4_1G instances, you have to specify tf-cpu library in requirements.txt: tensorflow-cpu==2.8.0

    No. Old, Obsolete Answer

    No, you won't be able to install TensorFlow on standard instances.

    You can, however, install whatever you like on managed VMs instances. Though it may be easier to use compute engine instances instead.