Skip to content

Conversation

@duncanriach
Copy link
Contributor

This current PR is a follow-up to PR 47925 (Add softmax/cross-entropy op exceptions for GPU determinism), and specifically to this interaction between @sanjoy and myself.

This current PR adds determinism tests for the CPU implementations of tf.softmax_cross_entropy_with_logits and tf.sparse_softmax_cross_entropy_with_logits. When deterministic GPU implementations are added for these ops, the tests can be used to demonstrate, confirm, and ensure that the functionality is, and stays, deterministic.

@google-ml-butler google-ml-butler bot added the size:M CL Change Size: Medium label Apr 22, 2021
@google-cla google-cla bot added the cla: yes label Apr 22, 2021
@gbaned gbaned self-assigned this Apr 22, 2021
@gbaned gbaned requested a review from sanjoy April 22, 2021 04:32
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Apr 25, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Apr 25, 2021
@copybara-service copybara-service bot merged commit 8524412 into tensorflow:master Apr 26, 2021
@duncanriach duncanriach deleted the add-cpu-determinism-tests-for-fused-softmax-cross-entropy branch April 30, 2021 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes ready to pull PR ready for merge process size:M CL Change Size: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants