Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GlobalStep, fix _BatchManager, and add logging #362

Merged
merged 13 commits into from
Feb 27, 2024

Conversation

alvarobartt
Copy link
Member

Description

This PR implements the GlobalStep and also the mechanism within the Pipeline so that all the input batches are awaited before running the step, and then the step runs. Besides that, also the _BatchManager has been fixed as the batch variable was being overwritten and the batching was not working due to matching seq_no. Finally, a simple logging.Logger has been included using logging + rich, and included within both the Step and the BasePipeline so that it can be easily accessed via the _logger attribute.

@alvarobartt alvarobartt added enhancement New feature or request fix labels Feb 27, 2024
@alvarobartt alvarobartt added this to the 1.0.0 milestone Feb 27, 2024
@alvarobartt alvarobartt self-assigned this Feb 27, 2024
@alvarobartt alvarobartt merged commit 469bba5 into core-refactor Feb 27, 2024
4 checks passed
@alvarobartt alvarobartt deleted the batch-fix-and-logging branch February 27, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant