apple/axlearn

configure gcloud when configuring axlearn

jiya-zhang opened this issue · 1 comments

I ran axlearn gcp config activate to activate a project in us-west1. However, this doesn't change the config for my gcloud, as evident when I ran gcloud config list.

If I don't manually change the gcloud config, then I ran into this error:
E0319 20:55:05.981639 140440028389440 config.py:118] Unknown settings for project=<project> and zone=us-west1-a; You may want to configure this project first; Please refer to the docs for details.
When using this command: axlearn gcp dataflow start ...

Actually, axlearn directly reads from the config file in ~/.axlearn.config and I had a typo here