NVIDIA-Merlin / models

Merlin Models is a collection of deep learning recommender system model reference implementations
https://nvidia-merlin.github.io/models/main/index.html
Apache License 2.0
262 stars 50 forks source link

Update minimum version of TensorFlow from 2.8 to 2.9 #1084

Closed oliverholworthy closed 1 year ago

oliverholworthy commented 1 year ago

Removes some patching of _set_save_spec that was added for support for earlier TensorFlow versions.

Motivation. Newer versions of numpy have dropped support for the deprecated builtin type aliaes (e.g. np.object). This causes an expression like tf.ragged.constant([[1, 2], [3]]) to raise AttributeError: module 'numpy' has no attribute 'object'.

github-actions[bot] commented 1 year ago

Documentation preview

https://nvidia-merlin.github.io/models/review/pr-1084

oliverholworthy commented 1 year ago

Should we also bump the minimum version in requirements/tensorflow.txt?

Good spot, I missed commiting that file. Updated now