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

Update CI to use TF 2.16 #2378

Merged
merged 5 commits into from
Mar 20, 2024
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
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
Loading