Skip to content

Commit 1af1651

Browse files
Merge branch 'keras-team:master' into fix_tpu_tests
2 parents 3bf075b + 9f7bd40 commit 1af1651

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

.kokoro/github/ubuntu/gpu/jax/continuous.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ env_vars: {
1212
value: "jax"
1313
}
1414

15-
# Set timeout to 60 mins from default 180 mins
16-
timeout_mins: 60
15+
# Set timeout to 120 mins from default 180 mins
16+
timeout_mins: 120

.kokoro/github/ubuntu/gpu/jax/presubmit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ env_vars: {
1212
value: "jax"
1313
}
1414

15-
# Set timeout to 60 mins from default 180 mins
16-
timeout_mins: 60
15+
# Set timeout to 120 mins from default 180 mins
16+
timeout_mins: 120

keras/src/export/litert_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@
3636

3737
# Model types to test (LSTM only if AI Edge LiteRT is available)
3838
model_types = ["sequential", "functional"]
39-
if AI_EDGE_LITERT_AVAILABLE:
40-
model_types.append("lstm")
39+
# TODO(#21914): `"lstm"` does not work with ai-edge-litert==1.3.0.
40+
# Unfortunately, for TF 2.20.0, this is the only version which works. Uncomment
41+
# this part when we upgrade TF and ai-edge-litert.
42+
# if AI_EDGE_LITERT_AVAILABLE:
43+
# model_types.append("lstm")
4144

4245

4346
class CustomModel(models.Model):

requirements-tensorflow-cuda.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Tensorflow with cuda support.
22
tensorflow[and-cuda]~=2.20.0
33
tf2onnx
4-
ai-edge-litert
4+
# This is the only version which works with TF 2.20.0.
5+
# TODO(#21914): Update this version when TF is updated.
6+
ai-edge-litert==1.3.0
57

68
# Torch cpu-only version (needed for testing).
79
--extra-index-url https://download.pytorch.org/whl/cpu

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
tensorflow-cpu~=2.20.0;sys_platform != 'darwin'
55
tensorflow~=2.20.0;sys_platform == 'darwin'
66
tf2onnx
7-
ai-edge-litert
7+
# This is the only version which works with TF 2.20.0.
8+
# TODO(#21914): Update this version when TF is updated.
9+
ai-edge-litert==1.3.0
810

911
# Torch.
1012
--extra-index-url https://download.pytorch.org/whl/cpu

0 commit comments

Comments
 (0)