tensorflow / cloud

The TensorFlow Cloud repository provides APIs that will allow to easily go from debugging and training your Keras and TensorFlow code in a local environment to distributed training in the cloud.

Home Page:https://github.com/tensorflow/cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gcp region is set hard to "us-central1"

hubtub2 opened this issue · comments

I tried so set my compute region to "west europe" using the gcp console.
Did not work, jobs where always started in "us-central1".

Turns out, the region is hardcoded in tensorflow-cloud.
The implementation in /core/gcp.py is:

def get_region():
return "us-central1"

Please change it to use the default region from gcp, or let us pass in the region as parameter.

I presented a similar problem in PR #381.
I will implement the fix to your issue as well.