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

Update requirements-dev.txt to pin tensorflow below 2.14.0 #583

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

gaugup
Copy link
Collaborator

@gaugup gaugup commented Sep 29, 2023

Looks like recent tensorflow release is incompatible with numpy.

from tensorflow.python.saved_model import saved_model
/usr/share/miniconda/envs/test/lib/python3.9/site-packages/tensorflow/python/saved_model/saved_model.py:20: in <module>
    from tensorflow.python.saved_model import builder
/usr/share/miniconda/envs/test/lib/python3.9/site-packages/tensorflow/python/saved_model/builder.py:23: in <module>
    from tensorflow.python.saved_model.builder_impl import _SavedModelBuilder
/usr/share/miniconda/envs/test/lib/python3.9/site-packages/tensorflow/python/saved_model/builder_impl.py:[26](https://github.com/interpretml/interpret-community/actions/runs/6347561980/job/17242731392#step:12:27): in <module>
    from tensorflow.python.framework import dtypes
/usr/share/miniconda/envs/test/lib/python3.9/site-packages/tensorflow/python/framework/dtypes.py:37: in <module>
    _np_bfloat16 = pywrap_ml_dtypes.bfloat16()
E   TypeError: Unable to convert function return value to a Python type! The signature was
E   	() -> handle
Error: Process completed with exit code 4.

Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

see 62 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@gaugup gaugup merged commit c9c84d1 into main Oct 2, 2023
8 checks passed
@gaugup gaugup deleted the gaugup/PinTensorflow branch October 2, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants