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

Optimized batch processing in eval_model() with parallel execution #612

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pramod-lp
Copy link

Optimized batch processing in eval_model() with parallel execution

  • Replaced sequential loop with ThreadPoolExecutor for parallel execution.
  • Applied changes in eval_instruct.py (line 70) and eval_instruct.py (line 110).
  • Improved efficiency by reducing generation time.
  • Ensured compatibility with existing functions without affecting results.

…eplaced sequential loop with ThreadPoolExecutor for parallel execution.- Applied changes in (line 70) and (line 110).- Improved efficiency by reducing generation time.- Ensured compatibility with existing functions without affecting results.
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.

1 participant