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

[ChunkTeacher] Fix a hang #3549

Merged
merged 6 commits into from
Mar 31, 2021
Merged

[ChunkTeacher] Fix a hang #3549

merged 6 commits into from
Mar 31, 2021

Conversation

stephenroller
Copy link
Contributor

Patch description
Fix a bug where CT would hang when the buffer was smaller than the size of the the test set chunk.

Also define a new set of tests to pretty exhaustively test CT in a wide variety of settings.

Testing steps
New CI

Copy link
Contributor

@emilydinan emilydinan left a comment

Choose a reason for hiding this comment

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

i think you commented out self._drain by accident? also why did you add more Nones to shutdown?

parlai/agents/test_agents/counter.py Outdated Show resolved Hide resolved
parlai/core/teachers.py Outdated Show resolved Hide resolved
parlai/tasks/integration_tests/agents.py Show resolved Hide resolved
@stephenroller stephenroller merged commit 7da15f7 into master Mar 31, 2021
@stephenroller stephenroller deleted the yactb branch March 31, 2021 16:37
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