Skip to content
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

Test test.integration.test_spark.SparkTests.test_dbfs_local_store broken for tensorflow>=2.13 #3988

Open
EnricoMi opened this issue Sep 27, 2023 · 1 comment
Labels

Comments

@EnricoMi
Copy link
Collaborator

Test fails for Tensorflow 2.13.0 and above:

                reconstructed_model_local = deserialize_keras_model(serialized_model_local)
                if version.parse(tensorflow.__version__) >= version.parse("2.3.0"):
>                   assert reconstructed_model_local.get_config() == model.get_config()
E                   AssertionError: assert {'layers': [{... 'sequential'} == {'layers': [{... 'sequential'}
E                     Omitting 1 identical items, use -vv to show
E                     Differing items:
E                     {'layers': [{'class_name': 'InputLayer', 'config': {'batch_input_shape': (None, 32), 'dtype': 'float32', 'name': 'inpu...'Zeros', 'config': {}, 'module': 'keras.initializers', 'registered_name': None}, ...}, 'module': 'keras.layers', ...}]} != {'layers': [{'class_name': 'InputLayer', 'config': {'batch_input_shape': (None, 32), 'dtype': 'float32', 'name': 'inpu...s_initializer': {'class_name': 'Zeros', 'config': {}, 'module': 'keras.initializers', 'registered_name': None}, ...}}]}
E                     Full diff:
E                       {
E                        'layers': [{'clas...
E                     
E                     ...Full output truncated (42 lines hidden), use '-vv' to show
``
@EnricoMi EnricoMi added the bug label Sep 27, 2023
@EnricoMi
Copy link
Collaborator Author

@liangz1 @irasit @WeichenXu123 I am going to disable this test for Tensorflow 2.13.0 and above, which means we are loosing test coverage for your logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant