1616
1717env :
1818 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 '
2121
2222jobs :
2323 test-with-bazel :
3434 sudo apt install -y redis > /dev/null 2> /dev/null
3535 bash tools/install_deps/install_bazelisk.sh ./
3636 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
3838 python configure.py
3939 bazel test --local_ram_resources=4096 -c opt -k --test_timeout 300,450,1200,3600 --test_output=errors //tensorflow_recommenders_addons/...
4040 release-wheel :
@@ -43,16 +43,20 @@ jobs:
4343 matrix :
4444 # TODO: add back 'windows-latest' when it can be compiled.
4545 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 ']
4848 tf-need-cuda : ['0', '1']
49- tf-cuda-version : ['11.2']
50- tf-cudnn-version : ['8.1']
5149 cpu : ['x86']
5250 exclude :
5351 # excludes cuda on macOS
5452 - os : ' macos-12'
5553 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'
5660 fail-fast : false
5761 runs-on : ${{ matrix.os }}
5862 steps :
6569 script : |
6670 const commit_details = await github.git.getCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha});
6771 return commit_details.data.author.date
68- - if : matrix.tf-version != '2.11.0 '
72+ - if : matrix.tf-version != '2.15.1 '
6973 shell : bash
7074 run : echo "SKIP_CUSTOM_OP_TESTS=--skip-custom-ops" >> $GITHUB_ENV
7175 - if : github.event_name == 'push'
@@ -85,13 +89,11 @@ jobs:
8589 PY_VERSION : ${{ matrix.py-version }}
8690 TF_VERSION : ${{ matrix.tf-version }}
8791 TF_NEED_CUDA : ${{ matrix.tf-need-cuda }}
88- TF_CUDA_VERSION : ${{ matrix.tf-cuda-version }}
89- TF_CUDNN_VERSION : ${{ matrix.tf-cudnn-version }}
9092 NIGHTLY_TIME : ${{ steps.author-date.outputs.result }}
9193 CPU : ${{ matrix.cpu }}
9294 shell : bash
9395 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
9597 export HOROVOD_VERSION="0.28.1"
9698 fi
9799 bash .github/workflows/make_wheel_${OS}_${CPU}.sh
@@ -113,13 +115,20 @@ jobs:
113115 matrix :
114116 # TODO: add back 'Windows' when it can be compiled.
115117 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']
117120 tf-need-cuda : ['0', '1']
118121 cpu : ['x86']
119122 exclude :
120123 # excludes cuda on macOS
121124 - os : ' macOS'
122125 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'
123132 fail-fast : false
124133 if : (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release'
125134 steps :
@@ -147,7 +156,7 @@ jobs:
147156 runs-on : ubuntu-20.04
148157 strategy :
149158 matrix :
150- py-version : ['3.7', '3.8', '3.9', '3. 10']
159+ py-version : ['3.10']
151160 if : (github.event_name == 'push' && github.ref == 'refs/heads/master')
152161 steps :
153162 - uses : actions/checkout@v2
0 commit comments