Skip to content

Skip softmax and sorting of probabilities when top_p == 1.0 and top_k is None.#1056

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_866489622
Open

Skip softmax and sorting of probabilities when top_p == 1.0 and top_k is None.#1056
copybara-service[bot] wants to merge 1 commit intomainfrom
test_866489622

Conversation

@copybara-service
Copy link

Skip softmax and sorting of probabilities when top_p == 1.0 and top_k is None.

_sample_top_p is inlined into sample_top_p.

… is None.

_sample_top_p is inlined into sample_top_p.

PiperOrigin-RevId: 866489622
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