Skip to content

fix: rejection sampling acceptance rate in MRv2#1658

Merged
AlpinDale merged 1 commit into
mainfrom
fix/rejection-acceptance-mrv2
Apr 28, 2026
Merged

fix: rejection sampling acceptance rate in MRv2#1658
AlpinDale merged 1 commit into
mainfrom
fix/rejection-acceptance-mrv2

Conversation

@AlpinDale

Copy link
Copy Markdown
Collaborator

Signed-off-by: AlpinDale <alpindale@gmail.com>
@AlpinDale AlpinDale merged commit f48068d into main Apr 28, 2026
1 check failed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 508bd1a210

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

NgramGPUTypes,
]
RejectionSampleMethod = Literal["strict", "probabilistic", "synthetic"]
RejectionSampleMethod = Literal["standard", "synthetic"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Accept legacy rejection sampler method names

This change removes "strict" and "probabilistic" from RejectionSampleMethod, so any existing deployment or config file that still sets either value will now fail Pydantic validation at startup before serving begins. Because this commit is framed as an acceptance-rate fix (not an API removal), dropping the old enum values without aliasing/migration introduces an avoidable breaking regression for users upgrading in place.

Useful? React with 👍 / 👎.

@AlpinDale AlpinDale deleted the fix/rejection-acceptance-mrv2 branch April 28, 2026 08:26
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.

1 participant