"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "2dce350b3374ac76432fd6659e81b28083b705fa"
Unverified Commit be2d9f2e authored by Meghan Cowan's avatar Meghan Cowan Committed by GitHub
Browse files

Fix tpu_metrics_debug (#24452)

fix for tpu metrics debugs string
parent 3b84d86b
...@@ -1561,7 +1561,10 @@ class TrainingArguments: ...@@ -1561,7 +1561,10 @@ class TrainingArguments:
" `--debug tpu_metrics_debug` instead", " `--debug tpu_metrics_debug` instead",
FutureWarning, FutureWarning,
) )
self.debug += " tpu_metrics_debug" if self.debug is None:
self.debug = " tpu_metrics_debug"
else:
self.debug += " tpu_metrics_debug"
self.tpu_metrics_debug = False self.tpu_metrics_debug = False
if isinstance(self.debug, str): if isinstance(self.debug, str):
......
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