Closed copybara-service[bot] closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.08%. Comparing base (
32b354e
) to head (5664dca
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Refine
lf.LanguageModel
on concurrency control.Make 'max_concurrency' as a field and set its default to None. Subclasses could override it or implement a
max_concurreny
property to allow dynamic concurrency.Introduce
_parallel_do_with_concurrency_control
inlf.LanguageModel
for making it easier and consistent for subclasses to implement sampling with concurrency control.