Skip to content

Commit 73314e2

Browse files
authored
Merge branch 'keras-team:master' into master
2 parents 7c052bc + d8e0b4a commit 73314e2

File tree

32 files changed

+476
-106
lines changed

32 files changed

+476
-106
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
PYTHON: ${{ matrix.python-version }}
7070
KERAS_BACKEND: ${{ matrix.backend }}
7171
steps:
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@v5
7373
- name: Set up Python
74-
uses: actions/setup-python@v5
74+
uses: actions/setup-python@v6
7575
with:
7676
python-version: ${{ matrix.python-version }}
7777
- name: Get pip cache dir

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
4949
# format to the repository Actions tab.
5050
- name: "Upload artifact"
51-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
51+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5252
with:
5353
name: SARIF file
5454
path: results.sarif
5555
retention-days: 5
5656

5757
# Upload the results to GitHub's code scanning dashboard.
5858
- name: "Upload to code-scanning"
59-
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.29.5
59+
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v3.29.5
6060
with:
6161
sarif_file: results.sarif

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributions can be made in a variety of ways, including coding, enriching docu
44

55

66
## Current items open for contributions
7-
At [this link](https://github.com/keras-team/keras/issues/18442), you'll find a list of items where you help is needed!
7+
At [this link](https://github.com/keras-team/keras/issues/18442), you'll find a list of items where your help is needed!
88

99

1010
## How to contribute code

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ python pip_build.py --install
5555
./shell/api_gen.sh
5656
```
5757

58+
## Backend Compatibility Table
59+
60+
The following table lists the minimum supported versions of each backend for the latest stable release of Keras (v3.x):
61+
62+
| Backend | Minimum Supported Version |
63+
|------------|---------------------------|
64+
| TensorFlow | 2.16.1 |
65+
| JAX | 0.4.20 |
66+
| PyTorch | 2.1.0 |
67+
| OpenVINO | 2025.3.0 |
68+
5869
#### Adding GPU support
5970

6071
The `requirements.txt` file will install a CPU-only version of TensorFlow, JAX, and PyTorch. For GPU support, we also

keras/api/_tf_keras/keras/distribution/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
distribute_tensor as distribute_tensor,
1616
)
1717
from keras.src.distribution.distribution_lib import distribution as distribution
18+
from keras.src.distribution.distribution_lib import (
19+
get_device_count as get_device_count,
20+
)
1821
from keras.src.distribution.distribution_lib import initialize as initialize
1922
from keras.src.distribution.distribution_lib import list_devices as list_devices
2023
from keras.src.distribution.distribution_lib import (

keras/api/_tf_keras/keras/ops/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
from keras.src.ops.numpy import argpartition as argpartition
141141
from keras.src.ops.numpy import argsort as argsort
142142
from keras.src.ops.numpy import array as array
143+
from keras.src.ops.numpy import array_split as array_split
143144
from keras.src.ops.numpy import average as average
144145
from keras.src.ops.numpy import bartlett as bartlett
145146
from keras.src.ops.numpy import bincount as bincount

keras/api/_tf_keras/keras/ops/numpy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from keras.src.ops.numpy import argpartition as argpartition
2727
from keras.src.ops.numpy import argsort as argsort
2828
from keras.src.ops.numpy import array as array
29+
from keras.src.ops.numpy import array_split as array_split
2930
from keras.src.ops.numpy import average as average
3031
from keras.src.ops.numpy import bartlett as bartlett
3132
from keras.src.ops.numpy import bincount as bincount

keras/api/distribution/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
distribute_tensor as distribute_tensor,
1616
)
1717
from keras.src.distribution.distribution_lib import distribution as distribution
18+
from keras.src.distribution.distribution_lib import (
19+
get_device_count as get_device_count,
20+
)
1821
from keras.src.distribution.distribution_lib import initialize as initialize
1922
from keras.src.distribution.distribution_lib import list_devices as list_devices
2023
from keras.src.distribution.distribution_lib import (

keras/api/ops/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
from keras.src.ops.numpy import argpartition as argpartition
141141
from keras.src.ops.numpy import argsort as argsort
142142
from keras.src.ops.numpy import array as array
143+
from keras.src.ops.numpy import array_split as array_split
143144
from keras.src.ops.numpy import average as average
144145
from keras.src.ops.numpy import bartlett as bartlett
145146
from keras.src.ops.numpy import bincount as bincount

keras/api/ops/numpy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from keras.src.ops.numpy import argpartition as argpartition
2727
from keras.src.ops.numpy import argsort as argsort
2828
from keras.src.ops.numpy import array as array
29+
from keras.src.ops.numpy import array_split as array_split
2930
from keras.src.ops.numpy import average as average
3031
from keras.src.ops.numpy import bartlett as bartlett
3132
from keras.src.ops.numpy import bincount as bincount

0 commit comments

Comments
 (0)