Skip to content

Commit

Permalink
Add to keras install (#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathweb authored Dec 8, 2023
1 parent eadc20c commit 6d8b0dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions templates/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ in computer vision, natural language processing, and generative AI.
You can install Keras from PyPI via:

```
pip install keras
pip install --upgrade keras
```

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

```
pip install keras-cv
pip install keras-nlp
pip install --upgrade keras-cv
pip install --upgrade keras-nlp
```

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

Note that it may not always be possible to use the GPU with multiple backends in the same environment due to conflicting
Expand Down
2 changes: 1 addition & 1 deletion templates/keras_cv/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Keras 2, and will no longer be necessary after TensorFlow 2.16.

```
pip install --upgrade keras-cv tensorflow
pip install keras>=3
pip install --upgrade keras
```

To install the latest changes nightly for KerasCV and Keras, you can use our
Expand Down
2 changes: 1 addition & 1 deletion templates/keras_nlp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Keras 2, and will no longer be necessary after TensorFlow 2.16.

```
pip install --upgrade keras-nlp
pip install --upgrade keras>=3
pip install --upgrade keras
```

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

0 comments on commit 6d8b0dc

Please sign in to comment.