+
Skip to content

Conversation

timerring
Copy link
Owner

Description

Pipeline the computing tasks to make full use of computing resources.
The limit number of concurrent encoding sessions for GTX 1650 is 3, which will make sure the VRAM security even sometimes the render task will be slower than the whisper asr.

Using pipeline can save at least 25% time. (The whisper rate is around 5x, while the render rate is 13x)

Related Issues

fix #110

Changes Proposed

  • add pipeline mode.

Who Can Review?

@timerring

Checklist

  • Code has been reviewed
  • Code complies with the project's code standards and best practices
  • Code has passed all tests
  • Code does not affect the normal use of existing features
  • Code has been commented properly
  • Documentation has been updated (if applicable)
  • Demo/checkpoint has been attached (if applicable)

@timerring timerring self-assigned this Dec 10, 2024
Copy link
Owner Author

@timerring timerring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, wait for test.

Copy link
Owner Author

@timerring timerring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pass test.

@timerring timerring merged commit 324cd7c into main Dec 10, 2024
@timerring timerring deleted the dev branch December 10, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Pipeline the computing tasks

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载