We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65211bd commit 5b24223Copy full SHA for 5b24223
1 file changed
TensorFlow/LanguageModeling/BERT/run_squad.py
@@ -965,6 +965,7 @@ def main(_):
965
training_hooks.append(hvd.BroadcastGlobalVariablesHook(0))
966
if FLAGS.use_xla:
967
config.graph_options.optimizer_options.global_jit_level = tf.compat.v1.OptimizerOptions.ON_1
968
+ tf.enable_resource_variables()
969
run_config = tf.estimator.RunConfig(
970
model_dir=FLAGS.output_dir if master_process else None,
971
session_config=config,
0 commit comments