Skip to content

Commit

Permalink
fix(api): restart workers on HIP memory errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Apr 1, 2023
1 parent a1f54f0 commit e0e0999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/onnx_web/worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

MEMORY_ERRORS = [
"Failed to allocate memory",
"out of memory",
"hipErrorOutOfMemory",
"MIOPEN failure 7",
"out of memory",
]


Expand Down

0 comments on commit e0e0999

Please sign in to comment.