16
16
17
17
env :
18
18
MIN_PY_VERSION : ' 3.7'
19
- MAX_PY_VERSION : ' 3.10 '
20
- HOROVOD_VERSION : ' 0.23.0 '
19
+ MAX_PY_VERSION : ' 3.11 '
20
+ HOROVOD_VERSION : ' 0.28.1 '
21
21
22
22
jobs :
23
23
test-with-bazel :
34
34
sudo apt install -y redis > /dev/null 2> /dev/null
35
35
bash tools/install_deps/install_bazelisk.sh ./
36
36
python -m pip install tensorflow-io
37
- python -m pip install --upgrade protobuf==3.20.0
37
+ python -m pip install --upgrade protobuf==4.23.4
38
38
python configure.py
39
39
bazel test --local_ram_resources=4096 -c opt -k --test_timeout 300,450,1200,3600 --test_output=errors //tensorflow_recommenders_addons/...
40
40
release-wheel :
@@ -43,16 +43,20 @@ jobs:
43
43
matrix :
44
44
# TODO: add back 'windows-latest' when it can be compiled.
45
45
os : ['macos-12', 'ubuntu-20.04']
46
- py-version : ['3.7', '3.8', '3.9', '3.10']
47
- tf-version : ['2.8.3 ', '2.11.0 ']
46
+ py-version : ['3.7', '3.8', '3.9', '3.10', '3.11' ]
47
+ tf-version : ['2.11.0 ', '2.15.1 ']
48
48
tf-need-cuda : ['0', '1']
49
- tf-cuda-version : ['11.2']
50
- tf-cudnn-version : ['8.1']
51
49
cpu : ['x86']
52
50
exclude :
53
51
# excludes cuda on macOS
54
52
- os : ' macos-12'
55
53
tf-need-cuda : ' 1'
54
+ - tf-version : ' 2.11.0'
55
+ py-version : ' 3.11'
56
+ - tf-version : ' 2.15.1'
57
+ py-version : ' 3.7'
58
+ - tf-version : ' 2.15.1'
59
+ py-version : ' 3.8'
56
60
fail-fast : false
57
61
runs-on : ${{ matrix.os }}
58
62
steps :
65
69
script : |
66
70
const commit_details = await github.git.getCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha});
67
71
return commit_details.data.author.date
68
- - if : matrix.tf-version != '2.11.0 '
72
+ - if : matrix.tf-version != '2.15.1 '
69
73
shell : bash
70
74
run : echo "SKIP_CUSTOM_OP_TESTS=--skip-custom-ops" >> $GITHUB_ENV
71
75
- if : github.event_name == 'push'
@@ -85,13 +89,11 @@ jobs:
85
89
PY_VERSION : ${{ matrix.py-version }}
86
90
TF_VERSION : ${{ matrix.tf-version }}
87
91
TF_NEED_CUDA : ${{ matrix.tf-need-cuda }}
88
- TF_CUDA_VERSION : ${{ matrix.tf-cuda-version }}
89
- TF_CUDNN_VERSION : ${{ matrix.tf-cudnn-version }}
90
92
NIGHTLY_TIME : ${{ steps.author-date.outputs.result }}
91
93
CPU : ${{ matrix.cpu }}
92
94
shell : bash
93
95
run : |
94
- if [[ "$TF_VERSION" =~ ^2\.(9|10|11 )\.[0-9]$ ]] ; then
96
+ if [[ "$TF_VERSION" =~ ^2\.(11|12|13|14|15 )\.[0-9]$ ]] ; then
95
97
export HOROVOD_VERSION="0.28.1"
96
98
fi
97
99
bash .github/workflows/make_wheel_${OS}_${CPU}.sh
@@ -113,13 +115,20 @@ jobs:
113
115
matrix :
114
116
# TODO: add back 'Windows' when it can be compiled.
115
117
os : ['macOS', 'Linux']
116
- py-version : ['3.7', '3.8', '3.9', '3.10']
118
+ py-version : ['3.7', '3.8', '3.9', '3.10', '3.11']
119
+ tf-version : ['2.15.1']
117
120
tf-need-cuda : ['0', '1']
118
121
cpu : ['x86']
119
122
exclude :
120
123
# excludes cuda on macOS
121
124
- os : ' macOS'
122
125
tf-need-cuda : ' 1'
126
+ - tf-version : ' 2.11.0'
127
+ py-version : ' 3.11'
128
+ - tf-version : ' 2.15.1'
129
+ py-version : ' 3.7'
130
+ - tf-version : ' 2.15.1'
131
+ py-version : ' 3.8'
123
132
fail-fast : false
124
133
if : (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release'
125
134
steps :
@@ -147,7 +156,7 @@ jobs:
147
156
runs-on : ubuntu-20.04
148
157
strategy :
149
158
matrix :
150
- py-version : ['3.7', '3.8', '3.9', '3. 10']
159
+ py-version : ['3.10']
151
160
if : (github.event_name == 'push' && github.ref == 'refs/heads/master')
152
161
steps :
153
162
- uses : actions/checkout@v2
0 commit comments