@@ -6,27 +6,24 @@ Keras 3 is a new multi-backend implementation of the Keras API, with support for
6
6
7
7
### Install with pip
8
8
9
- Keras 3 is available as a preview release on PyPI named ` keras-core ` .
10
- Keras 2 (` tf.keras ` ) is distributed along with the ` tensorflow ` package.
9
+ Keras 3 is available on PyPI as ` keras ` . Note that Keras 2 remains available as the ` tf-keras ` package.
11
10
12
- 1 . Install ` keras-core ` :
11
+ 1 . Install ` keras ` :
13
12
14
13
```
15
- pip install keras-core
14
+ pip install keras --upgrade
16
15
```
17
16
18
17
2 . Install backend package(s).
19
18
20
- To use ` keras-core ` , you should also install the backend of choice: ` tensorflow ` , ` jax ` , or ` torch ` .
19
+ To use ` keras ` , you should also install the backend of choice: ` tensorflow ` , ` jax ` , or ` torch ` .
21
20
Note that ` tensorflow ` is required for using certain Keras 3 features: certain preprocessing layers
22
21
as well as ` tf.data ` pipelines.
23
22
24
- ** Note:** If you are using the ` keras-core ` package you also need to switch your Keras import.
25
- Use ` import keras_core as keras ` . This is a temporary step until the release of Keras 3 on PyPI.
26
-
27
23
### Local installation
28
24
29
- Keras 3 is compatible with Linux and MacOS systems. To install a local development version:
25
+ Keras 3 is compatible with Linux and MacOS systems. For Windows users, we recommend using WSL2 to run Keras.
26
+ To install a local development version:
30
27
31
28
1 . Install dependencies:
32
29
@@ -87,15 +84,6 @@ to a backend-agnostic implementation in just a few minutes.
87
84
In addition, Keras models can consume datasets in any format, regardless of the backend you're using:
88
85
you can train your models with your existing ` tf.data.Dataset ` pipelines or PyTorch ` DataLoaders ` .
89
86
90
- ## Keras 3 timeline
91
-
92
- At the moment, we are releasing Keras 3 as a preview release with under the ` keras-core ` name on PyPI. We encourage anyone
93
- interested in the future of the library to try it out and give feedback.
94
-
95
- You can find the current stable release of Keras 2 at the [ tf-keras] ( https://github.com/keras-team/tf-keras ) repository.
96
-
97
- We will share updates on the release timeline as soon as they are available.
98
-
99
87
## Why use Keras 3?
100
88
101
89
- Run your high-level Keras workflows on top of any framework -- benefiting at will from the advantages of each framework,
@@ -106,3 +94,6 @@ e.g. the scalability and performance of JAX or the production ecosystem options
106
94
- Make your ML code future-proof by avoiding framework lock-in.
107
95
- As a PyTorch user: get access to power and usability of Keras, at last!
108
96
- As a JAX user: get access to a fully-featured, battle-tested, well-documented modeling and training library.
97
+
98
+
99
+ Read more in the [ Keras 3 release announcement] ( https://keras.io/keras_3/ ) .
0 commit comments