400Ping opened a new pull request, #928: URL: https://github.com/apache/mahout/pull/928
### Purpose of PR <!-- Describe what this PR does. --> This adds an async pipeline path for large angle-encoding batches while keeping the sync path for small inputs to avoid overhead. A new aligned dual-stream helper ensures chunk boundaries stay on sample size, and the batch encoder now uses it behind a size threshold. Changes: - Add run_dual_stream_pipeline_aligned to support chunk alignment in pipeline.rs. - Use aligned async pipeline for large angle batch inputs in angle.rs. - Keep existing synchronous path for small batches. ### Related Issues or PRs <!-- Add links to related issues or PRs. --> <!-- - Closes #123 --> <!-- - Related to #123 --> Related to https://github.com/apache/mahout/pull/852#discussion_r2704580346 ### Changes Made <!-- Please mark one with an "x" --> - [ ] Bug fix - [x] New feature - [ ] Refactoring - [ ] Documentation - [ ] Test - [ ] CI/CD pipeline - [ ] Other ### Breaking Changes <!-- Does this PR introduce a breaking change? --> - [ ] Yes - [ ] No ### Checklist <!-- Please mark each item with an "x" when complete --> <!-- If not all items are complete, please open this as a **Draft PR**. Once all requirements are met, mark as ready for review. --> - [ ] Added or updated unit tests for all changes - [ ] Added or updated documentation for all changes - [ ] Successfully built and ran all unit tests or manual tests locally - [ ] PR title follows "MAHOUT-XXX: Brief Description" format (if related to an issue) - [ ] Code follows ASF guidelines -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
