Skip to content

Commit 6d8b0dc

Browse files
authored
Add to keras install (#1676)
1 parent eadc20c commit 6d8b0dc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

templates/getting_started/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ in computer vision, natural language processing, and generative AI.
2121
You can install Keras from PyPI via:
2222

2323
```
24-
pip install keras
24+
pip install --upgrade keras
2525
```
2626

2727
You can check your local Keras version number via:
@@ -47,8 +47,8 @@ The cause is that `tensorflow==2.15` will overwrite your Keras installation with
4747
KerasCV and KerasNLP can be installed via pip:
4848

4949
```
50-
pip install keras-cv
51-
pip install keras-nlp
50+
pip install --upgrade keras-cv
51+
pip install --upgrade keras-nlp
5252
```
5353

5454
Critically, **you should reinstall Keras 3 after installing KerasNLP**.
@@ -73,7 +73,7 @@ As an example, here is how to create a JAX GPU environment with [Conda](https://
7373
conda create -y -n keras-jax python=3.10
7474
conda activate keras-jax
7575
pip install -r requirements-jax-cuda.txt
76-
pip install keras
76+
pip install --upgrade keras
7777
```
7878

7979
Note that it may not always be possible to use the GPU with multiple backends in the same environment due to conflicting

templates/keras_cv/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Keras 2, and will no longer be necessary after TensorFlow 2.16.
5151

5252
```
5353
pip install --upgrade keras-cv tensorflow
54-
pip install keras>=3
54+
pip install --upgrade keras
5555
```
5656

5757
To install the latest changes nightly for KerasCV and Keras, you can use our

templates/keras_nlp/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Keras 2, and will no longer be necessary after TensorFlow 2.16.
6868

6969
```
7070
pip install --upgrade keras-nlp
71-
pip install --upgrade keras>=3
71+
pip install --upgrade keras
7272
```
7373

7474
To install the latest nightly changes for both KerasNLP and Keras, you can use

0 commit comments

Comments
 (0)