Batch size in WorkerSettings
Open
enhancement
- Dominant language
- Python
- Stars
- 83
- Forks
- 20
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 3
Description
We define `batch_size` in the `WorkerSettings`, which is initialized using the `sample_batch_size` argument from neps.run(). However, at runtime, although multiple trials are sampled according to batch_size, only the first one is actually used.
Contributor guide
Research direction
Start by tracing how neps.run() passes sample_batch_size into WorkerSettings.batch_size, then follow the runtime path that samples and selects trials. Verify where the sampled batch is reduced to its first trial. Done means all trials sampled according to batch_size are used during runtime, with behavior checked against the existing execution flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100