michaelfeil / michaelfeil/infinity

When the inference process encounters an out-of-memory (OOM) error, can the service automatically recover?

Open
#544 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Feature request

infinity version: 0.0.75

I noticed that when a GPU OOM occurs, the service hangs and new requests cannot be executed. Could you provide a mechanism for the service to automatically recover from GPU OOM or other exceptions, such as by restarting the service? This feature is important for long-running online services.

The log information below is from a simulated out-of-memory (OOM) situation, causing the service to hang.

infinity.log

Motivation

This feature is important for long-running online services.

Your contribution

Currently, there isn't any.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached infinity.log and the inference service's handling of simulated GPU OOM and other exceptions. Done means the service recovers automatically and accepts new requests after an OOM without hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.