Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[TorchGeneratorAgent] Batchify default to not sorting #4138

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Conversation

emilydinan
Copy link
Contributor

Patch description
Set the batchify default to not sort batches. The only agents that require sorting -- HRED and Seq2Seq -- actually already override batchify specifically to set sort to True. I added a note about incorrect local metrics and a TODO.

Copy link
Contributor

@stephenroller stephenroller left a comment

Choose a reason for hiding this comment

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

Thanks, I trust the tests here.

Really appreciate the updated comments.

@emilydinan
Copy link
Contributor Author

Crowdsourcing tests failed, I assume unrelated -- fine to ignore @stephenroller ?

@stephenroller stephenroller merged commit a8e28f2 into main Nov 4, 2021
@stephenroller stephenroller deleted the nosort branch November 4, 2021 21:10
@stephenroller
Copy link
Contributor

Yes, I went ahead. Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants