Skip to content

[Feature] Pipeline the computing tasks #110

@timerring

Description

@timerring

Is your feature request related to a problem? Please describe.

Although the process is very fast, but there is still much that for improvement.
The tasks can be divided into computing tasks and IO tasks.

  • The computing tasks contain the burning and whisper automatic speech recognition.
  • The IO tasks is the upload process. The IO task's limit is the bandwidth of the networks.

Describe the solution you'd like

Now the burning process will occupy the VRAM around 180MB, nevertheless the whisper asr will occupy the 2600MB VRAM. The VRAM of GTX1650 is around 3911MB. So in order to make full use of computing resources as well as guaranteeing the upload in time. We can burn danmakus and submit the segments first, and merge the segments and start asr until there are no danmaku burning tasks.

Describe alternatives you've considered

Starting the asr process at a specific time is also alternative.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions