mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +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:
|
||||
pattern = r"<(https://github.com/huggingface/transformers/actions/runs/.+?/job/.+?)\|(.+?)>"
|
||||
items = re.findall(pattern, line)
|
||||
elif "tests/models/" in line:
|
||||
model = line.split("/")[2]
|
||||
elif "tests/" in line:
|
||||
if "tests/models/" in line:
|
||||
model = line.split("/")[2]
|
||||
else:
|
||||
model = line.split("/")[1]
|
||||
if model not in new_failed_tests:
|
||||
new_failed_tests[model] = {"single-gpu": [], "multi-gpu": []}
|
||||
for url, device in items:
|
||||
|
Loading…
Reference in New Issue
Block a user