Parallelize profiling by Parquet shard
This commit is contained in:
@@ -4,6 +4,19 @@ This file records strategy changes that materially affect dataset decisions or
|
||||
training-data semantics. Generated audit manifests are not treated as stable API
|
||||
contracts.
|
||||
|
||||
## 3.0.1 - 2026-08-18
|
||||
|
||||
### CPU profiling
|
||||
|
||||
- Replaced directory-level Python thread concurrency with Parquet shard-level
|
||||
processes so CPU-bound tokenization and metric extraction bypass the GIL.
|
||||
- Each process streams batches of 16 records to an atomic shard part; the parent
|
||||
merges completed parts in source order without loading them into memory.
|
||||
- `profile --resume` now reuses completed shard parts, while interrupted
|
||||
temporary parts are safely recomputed.
|
||||
- Review sampling uses stored Parquet provenance and reads only shards that
|
||||
contain selected trajectories.
|
||||
|
||||
## 3.0.0 - 2026-08-18
|
||||
|
||||
### Strategy replacement
|
||||
|
||||
Reference in New Issue
Block a user