Skip to content

Commit

Permalink
Update CI to use TF 2.16 (#2378)
Browse files Browse the repository at this point in the history
* Use TF 2.16 in CI

* Use TF 2.16 in CI

* Update to TF 2.16

* Increase time for tests to 90 mins

* Increase time for tests to 90 mins
  • Loading branch information
sampathweb authored Mar 20, 2024
1 parent e21312a commit 301f7cd
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 27 deletions.
4 changes: 1 addition & 3 deletions .kokoro/github/ubuntu/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ nvidia-smi
nvcc --version

cd "src/github/keras-cv"
pip install -U pip setuptools
# psutil is used by background log reader
pip install -U psutil
pip install -U pip setuptools psutil

if [ "${KERAS2:-0}" == "1" ]
then
Expand Down
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/jax/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "jax"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/jax/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "jax"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/keras2/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "1"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/keras2/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "1"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/tensorflow/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "tensorflow"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/tensorflow/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "tensorflow"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/torch/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "torch"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions .kokoro/github/ubuntu/gpu/torch/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ env_vars: {
value: "torch"
}

# Set timeout to 60 mins from default 180 mins
timeout_mins: 60
# Set timeout to 90 mins from default 180 mins
timeout_mins: 90
4 changes: 2 additions & 2 deletions requirements-jax-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tensorflow cpu-only version.
tf-nightly-cpu==2.16.0.dev20240209 # Pin a working nightly until rc0.
# TensorFlow cpu-only version.
tensorflow-cpu>=2.16.1

# Torch cpu-only version.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down
4 changes: 2 additions & 2 deletions requirements-tensorflow-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tensorflow with cuda support.
tf-nightly[and-cuda]==2.16.0.dev20240209 # Pin a working nightly until rc0.
# TensorFlow with cuda support.
tensorflow[and-cuda]>=2.16.1

# Torch cpu-only version.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down
4 changes: 2 additions & 2 deletions requirements-torch-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tensorflow cpu-only version.
tf-nightly-cpu==2.16.0.dev20240209 # Pin a working nightly until rc0.
# TensorFlow cpu-only version.
tensorflow-cpu>=2.16.1

# Torch with cuda support.
--extra-index-url https://download.pytorch.org/whl/cu121
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tensorflow.
tf-nightly-cpu==2.16.0.dev20240209 # Pin a working nightly until rc0.
# TensorFlow.
tensorflow-cpu>=2.16.1

# Torch.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down

0 comments on commit 301f7cd

Please sign in to comment.