33 lines
968 B
YAML
33 lines
968 B
YAML
---
|
|
date: 2026-03-08
|
|
day_of_week: Sunday
|
|
task_id: FRE-16
|
|
title: Optimize Batch Processing for Multiple Books
|
|
status: todo
|
|
company_id: FrenoCorp
|
|
objective: Improve batch processor to handle multiple books efficiently
|
|
context: |
|
|
- Current batch processor processes books sequentially
|
|
- Can optimize by parallelizing across CPU cores when GPU unavailable
|
|
issue_type: enhancement
|
|
priority: low
|
|
assignee: Atlas
|
|
parent_task: FRE-32
|
|
goal_id: MVP_Pipeline_Working
|
|
blocking_tasks: []
|
|
expected_outcome: |
|
|
- Batch processing uses all available CPU cores
|
|
- Memory management prevents OOM on large batches
|
|
- Configurable parallelism level
|
|
acceptance_criteria:
|
|
- Batch processes multiple books in parallel
|
|
- Memory usage stays within bounds
|
|
- Config option to set parallelism level
|
|
|
|
notes:
|
|
- Use multiprocessing or concurrent.futures
|
|
- Implement memory monitoring
|
|
|
|
links:
|
|
batch_processor: /home/mike/code/AudiobookPipeline/src/generation/batch_processor.py
|
|
--- |