Commit 606e3331 authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

The tf_data_service override only works for the TaskConfig.

PiperOrigin-RevId: 339488247
parent bddc4930
......@@ -82,6 +82,10 @@ def parse_configuration(flags_obj):
'runtime': {
'tpu': flags_obj.tpu,
},
})
if flags_obj.tf_data_service and isinstance(params.task,
config_definitions.TaskConfig):
params.override({
'task': {
'train_data': {
'tf_data_service_address': flags_obj.tf_data_service,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment