Fix wrong PT/TF categories in CI report (#17272)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2022-05-17 09:32:47 +02:00 committed by GitHub
parent 1ac2b8fa7f
commit a26ab95e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -644,10 +644,10 @@ if __name__ == "__main__":
artifact_path["gpu"]
] += f"*{line}*\n_{stacktraces.pop(0)}_\n\n"
if re.search("_tf_", line):
if re.search("test_modeling_tf_", line):
model_results[model]["failed"]["TensorFlow"][artifact_path["gpu"]] += 1
elif re.search("_flax_", line):
elif re.search("test_modeling_flax_", line):
model_results[model]["failed"]["Flax"][artifact_path["gpu"]] += 1
elif re.search("test_modeling", line):