mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-16 11:08:23 +06:00
Fix new failure reports not including anything other than tests/models/
(#37415)
* fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
1ae8d54b04
commit
d9e76656ae
@ -544,8 +544,11 @@ class Message:
|
|||||||
if "https://github.com/huggingface/transformers/actions/runs" in line:
|
if "https://github.com/huggingface/transformers/actions/runs" in line:
|
||||||
pattern = r"<(https://github.com/huggingface/transformers/actions/runs/.+?/job/.+?)\|(.+?)>"
|
pattern = r"<(https://github.com/huggingface/transformers/actions/runs/.+?/job/.+?)\|(.+?)>"
|
||||||
items = re.findall(pattern, line)
|
items = re.findall(pattern, line)
|
||||||
elif "tests/models/" in line:
|
elif "tests/" in line:
|
||||||
model = line.split("/")[2]
|
if "tests/models/" in line:
|
||||||
|
model = line.split("/")[2]
|
||||||
|
else:
|
||||||
|
model = line.split("/")[1]
|
||||||
if model not in new_failed_tests:
|
if model not in new_failed_tests:
|
||||||
new_failed_tests[model] = {"single-gpu": [], "multi-gpu": []}
|
new_failed_tests[model] = {"single-gpu": [], "multi-gpu": []}
|
||||||
for url, device in items:
|
for url, device in items:
|
||||||
|
Loading…
Reference in New Issue
Block a user