You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/device:GPU:0
/gpu:0
WARNING:tensorflow:Tried to colocate Const_2 with an op Const_1 that had a different device: /device:GPU:0 vs /gpu:0. Ignoring colocation property.
/device:GPU:0
When using device function, '/gpu:0' doesn't get translated to '/device:GPU:0'. This can lead to very confusing warning messages when used together with colocate.
The text was updated successfully, but these errors were encountered:
/device:GPU:0 compares to /gpu:0 as one would expect.
Adds a test to ensure that the warning message isn't printed
by checking the resulting device name. No behavior change
is expected here; all this does is change to share
the canonical name and remove the warning.
Fixestensorflow#11484.
PiperOrigin-RevId: 162024152
System information
Outputs:
When using device function, '/gpu:0' doesn't get translated to '/device:GPU:0'. This can lead to very confusing warning messages when used together with colocate.
The text was updated successfully, but these errors were encountered: