-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Description
Yesterday, June 17, Keras 2.4.0 was released. This is the first numbered release since last October (which was 2.3.1).
Keras 2.4 now brings in tensorflow>=2.2 as a dependency (starting from #14121 , which was merged yesterday). It looks like this is because Keras 2.4 basically now redirects to tf.keras.
The problem, however, is one of compatibility: any user workflow that had pip install keras
or packages that have keras
in their requirements.txt/setup.py (without pinning to 'keras<2.4'
or to some specific earlier version, at least) will now end up replacing existing TensorFlow 1.15 or TensorFlow 2.1 installations (which are the LTS versions as far as I'm aware) with TF 2.2.
I'm not quite sure what to suggest should be done as a corrective action at this point; even if this had been numbered as for example, "Keras 3.0" then still packages that don't pin to a particular maximum Keras version would have fallen into this trap.
Already some NVIDIA customers have started hitting this, so I wanted to open the discussion, at least.