Skip to content

bugfix: _batch_inference needs to always yield - #30

Merged
Benjamin Elizalde (bmartin1) merged 1 commit into
microsoft:mainfrom
amihalik:patch-1
Apr 4, 2024
Merged

bugfix: _batch_inference needs to always yield#30
Benjamin Elizalde (bmartin1) merged 1 commit into
microsoft:mainfrom
amihalik:patch-1

Conversation

@amihalik

Copy link
Copy Markdown
Contributor

_generic_batch_inference returns a generator, but will not correctly return the last item. The currently implementation incorrectly returns the last item instead of yielding it.

@amihalikAaron Mihalik (amihalik) changed the title bugfix: _batch_generator needs to always yieldbugfix: _batch_inference needs to always yieldMar 10, 2024
@bmartin1
Benjamin Elizalde (bmartin1) merged commit 59bc844 into microsoft:mainApr 4, 2024
@bmartin1

Copy link
Copy Markdown
Contributor

Thank you Aaron Mihalik (@amihalik)

Sign up for freeto 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

@amihalik@bmartin1