Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --upgrade to keras install #1676

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading