Skip to content

Commit

Permalink
Add log classifier rule for ET model tests (#4919)
Browse files Browse the repository at this point in the history
ExecuTorch failures in trunk are not well captured atm, for example
https://github.com/pytorch/pytorch/actions/runs/7742624704/job/21112923644

### Testing

`cargo lambda invoke --data-file=fixtures/request.json` locally with an
example in trunk
https://hud.pytorch.org/pytorch/pytorch/commit/4a5a3bcc89c7658499aa36f24b02ec4648f41220
  • Loading branch information
huydhn authored Feb 2, 2024
1 parent a7aee88 commit 3b33162
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions aws/lambda/log-classifier/ruleset.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,23 @@ pattern = '^\s*(test.*) failed - num_retries_left:'
name = 'Python flaky unittest - errored'
pattern = '^\s*(test.*) errored - num_retries_left:'

# TODO (huydhn): Update ET test script to include the model name in the error message
[[rule]]
name = 'ExecuTorch portable model test - failed'
pattern = 'Portable fp32 error'

[[rule]]
name = 'ExecuTorch quantized portable model test - failed'
pattern = 'Portable q8 error'

[[rule]]
name = 'ExecuTorch delegation model test - failed'
pattern = 'Delegation fp32 error'

[[rule]]
name = 'ExecuTorch quantized delegation model test - failed'
pattern = 'Delegation q8 error'

[[rule]]
name = 'Python RuntimeError'
pattern = '^RuntimeError: .*'
Expand Down

0 comments on commit 3b33162

Please sign in to comment.