Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance bug fixes #36

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Performance bug fixes #36

merged 2 commits into from
Jan 23, 2025

Conversation

raffeyC
Copy link
Collaborator

@raffeyC raffeyC commented Dec 18, 2024

  • Change layer.py to create tensors in GPU instead of creating in CPU and moving to GPU
  • Reorder predict_batch function to move any .cpu() moves outside the main inference loop to avoid unnecessary interruptions

@rossbar rossbar force-pushed the performance_bug_fix branch from 4fc40fb to 86c1e42 Compare January 23, 2025 21:45
Copy link
Contributor

@rossbar rossbar left a comment

Choose a reason for hiding this comment

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

Let's give this a try, thanks @raffeyC !

@rossbar rossbar merged commit f698a69 into master Jan 23, 2025
18 checks passed
@rossbar rossbar deleted the performance_bug_fix branch January 23, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants