Skip to content

fix(batch_runner): mark discarded no-reasoning prompts as completed (#9950)#12997

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-bd16abe6
Apr 20, 2026
Merged

fix(batch_runner): mark discarded no-reasoning prompts as completed (#9950)#12997
teknium1 merged 1 commit into
mainfrom
hermes/hermes-bd16abe6

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Discarded no-reasoning prompts are now marked as completed so --resume doesn't retry them forever.

Cherry-picked from PR #10005 by @houziershi onto current main.

Changes

  • batch_runner.py: Add completed_in_batch.append(prompt_index) before continue in the no-reasoning discard branch
  • tests/test_batch_runner_checkpoint.py: Regression test verifying discarded prompts appear in completed_prompts
  • scripts/release.py: AUTHOR_MAP entry for @houziershi

Validation

Before After
Discarded prompt in completed_prompts Missing Included
--resume behavior Retries discarded prompts forever Skips them

13/13 batch_runner checkpoint tests pass.

Closes #9950
Supersedes #9968, #10005, #9993, #10042

…9950)

Cherry-picked from PR #10005 by @houziershi.

Discarded prompts (has_any_reasoning=False) were skipped by `continue`
before being added to completed_in_batch. On --resume they were retried
forever. Now they are added to completed_in_batch before the continue.

- Added AUTHOR_MAP entry for @houziershi

Closes #9950
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

batch_runner retries intentionally discarded no-reasoning prompts on every --resume

1 participant