Comments (4)
Hi @Liqi1003 ,
The difference seems precision related because of XLA fusion. Please find the developer comment on same for more details.
from tensorflow.
Hi @SuryanarayanaY,
Thanks for the pointer!
To test whether it is a problem caused by XLA, I tried to disable XLA by adding TF_XLA_FLAGS=--tf_xla_auto_jit=-1
before the command, as mentioned here. However, I still see the log indicates XLA compilation is enabled, and the outputs are the same as the one I posted above. Am I using the wrong way to disable XLA?
Also, I was only able to reproduce this problem in tensorflow 2.13. Using google colab with tensorflow 2.16.1, running the same code does not result in such inconsistency. Here is the colab.
I wonder if it is a bug that was silently fixed in later versions? Thanks!
from tensorflow.
Hi @Liqi1003 ,
It seems 2.16v has better precision than earlier versions. May be there seems some internal amendments which I am not aware.
As it resolved in latest version can we mark this as closed. Thanks!
from tensorflow.
Are you satisfied with the resolution of your issue?
Yes
No
from tensorflow.
Related Issues (20)
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyKerasMomentum/tf.raw_ops.ResourceSparseApplyKerasMomentum` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyPowerSign` HOT 3
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyRMSProp/tf.raw_ops.ResourceSparseApplyRMSProp` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceSparseApplyAdadelta/tf.raw_ops.ResourceApplyAdadelta` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceSparseApplyAdagrad/tf.raw_ops.ResourceSparseApplyAdagradDA/tf.raw_ops.ResourceSparseApplyAdagradV2` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyAdagrad/tf.raw_ops.ResourceApplyAdagradDA/tf.raw_ops.ResourceApplyAdagradV2`
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyCenteredRMSProp/tf.raw_ops.ResourceSparseApplyCenteredRMSProp` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceSparseApplyProximalAdagrad` HOT 3
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyAdaMax/tf.raw_ops.ResourceApplyAdam/tf.raw_ops.ResourceApplyAdamWithAmsgrad`
- Aborted (core dumped) in `tf.raw_ops.ResourceApplyAddSign` HOT 3
- Failed to build TF Lite benchmark tool on Windows
- The signatures in SavedModel do not contain serving_default when a subclass of the keras model has multiple inputs HOT 2
- MobileNetV3 quantization HOT 5
- Crash in `tf.raw_ops.ResizeNearestNeighbor/ResizeNearestNeighborGrad/ResizeArea/ResizeBicubic/ResizeBilinear` HOT 3
- Title: TensorFlow/Keras Integration Error: A KerasTensor cannot be used as input to a TensorFlow function HOT 1
- Add stop_evaluating attribute to Model class and add associated modification to evaluate method HOT 1
- Compilation of mlir:tf-opt fails with error "The repository '@llvm_zlib' could not be resolved" HOT 4
- GPU MaxPool gradient ops do not yet have a deterministic XLA implementation HOT 1
- DXGI format does not support cross-API sharing HOT 1
- tflite model maker not install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.