New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XLA: random numbers are the same across session.run
calls
#6854
Comments
@Leary for comment if that's normal |
That's definitely not working as intended. We don't seem to be setting the RNG seed correctly, which is why you get the same result. I'll check in a change disabling JIT compilation of the RNG ops until they are fixed. |
Actually, it turns out that Tensorflow is constant-folding away the _XlaLaunch ops containing the random-number generation code. Fix coming shortly (mark _XlaLaunch as stateful). |
Good to know it's an easy fix. BTW, if you setup the internal github/google email it'll add you to TensorFlow org automatically and I'll be able to assign future XLA issues to you (martin knows the place for the mapping) |
Hry folks,
Must have been some typo when you launched this thread. I am not related
to the tensor flow project. You aren't communicating with who you think you
are.
…On Jan 15, 2017 9:53 AM, "Yaroslav Bulatov" ***@***.***> wrote:
Good to know it's an easy fix. BTW, if you setup the internal
github/google email it'll add you to TensorFlow org automatically and I'll
be able to assign future XLA issues to you (martin knows the place for the
mapping)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6854 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACV3mIOcM-ZI890MJSfNxuvalDtmuLkbks5rSkESgaJpZM4LjvWp>
.
|
Ah, I see, I can't be assigned. I emailed Martin to add me to the Github org. |
@hawkinsp invited |
Also it is @leary-g I think |
…enerators are stateful. Prevents Tensorflow from constant-folding _XlaLaunch ops containing random-number ops. Fixes Github issue: tensorflow#6854 Enable RandomStandardNormal for the XLA CPU backend. Change: 144716342
…enerators are stateful. Prevents Tensorflow from constant-folding _XlaLaunch ops containing random-number ops. Fixes Github issue: tensorflow#6854 Enable RandomStandardNormal for the XLA CPU backend. Change: 144716342
…enerators are stateful. Prevents Tensorflow from constant-folding _XlaLaunch ops containing random-number ops. Fixes Github issue: #6854 Enable RandomStandardNormal for the XLA CPU backend. Change: 144716342
Not sure if that's intended, but that changes behavior of training pipelines:
Output:
The text was updated successfully, but these errors were encountered: