Skip to content

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