cloud icon indicating copy to clipboard operation
cloud copied to clipboard

Gcp region is set hard to "us-central1"

Open hubtub2 opened this issue 3 years ago • 2 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.

hubtub2 avatar Dec 16 '21 10:12 hubtub2

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

cymarechal avatar Jan 11 '22 19:01 cymarechal

🤔

Rezckant avatar Apr 16 '22 05:04 Rezckant