Skip to content

[Feature Request] Implementation of Parallel Frame Processing / Batch Inference to maximize GPU Utilization #233

Description

@amalrajan

It looks like this application processes frames in a strictly sequential, single-threaded pipeline (Read -> Upload -> Inference -> Download -> Encode).

Even when using the TensorRT backend, I am seeing a hard performance ceiling of ~9 FPS regardless of whether the output resolution is 1440p or 4K. Monitoring via nvidia-smi reveals:

  • GPU Utilization: ~60% (indicating the GPU is frequently idling while waiting for the next frame).
  • VRAM Usage: ~2.1 GB out of 6 GB available (leaving ~4 GB of wasted headroom).
  • Power Draw: Stagnant at ~72W, well below the thermal/power capacity of the hardware.

I would like to request a feature to enable Parallel Frame Processing or Batch Inference.Specifically: Batch Size / Parallel Frames: An option in the "Settings" or "Render" tab to process $N$ frames simultaneously.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions