File tree Expand file tree Collapse file tree 7 files changed +13
-17
lines changed Expand file tree Collapse file tree 7 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 77 types : [created]
88jobs :
99 build :
10- name : Test the code with tf.keras
10+ name : Test the code with Keras 2
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
2929 ${{ runner.os }}-pip-
3030 - name : Install dependencies
3131 run : |
32- pip install -r requirements.txt --progress-bar off
32+ pip install -r requirements-common.txt --progress-bar off
33+ pip install tensorflow-text keras-core
3334 pip install --no-deps -e "." --progress-bar off
3435 - name : Test with pytest
3536 run : |
3839 run : |
3940 python pip_build.py --install && cd integration_tests && pytest .
4041 multibackend :
41- name : Test the code with Keras Core
42+ name : Test the code with Keras 3
4243 strategy :
4344 fail-fast : false
4445 matrix :
6566 - name : Install dependencies
6667 run : |
6768 pip install -r requirements.txt --progress-bar off
68- pip install keras-nightly -U --progress-bar off
6969 pip install --no-deps -e "." --progress-bar off
7070 - name : Test with pytest
7171 env :
Original file line number Diff line number Diff line change 6666 _MULTI_BACKEND = True
6767
6868# If keras is version 3, use multi-backend keras (our only option).
69- _IS_KERAS_3 = version .parse (keras .__version__ ) >= version .parse ("3.0.0" )
69+ _IS_KERAS_3 = version .parse (keras .__version__ ) >= version .parse ("3.0.0.dev0 " )
7070if _IS_KERAS_3 :
7171 _MULTI_BACKEND = True
7272
Original file line number Diff line number Diff line change 11# Library deps.
2- keras-core>=0.1.6
32dm-tree
43regex
54rich
1716rouge-score
1817sentencepiece
1918tensorflow-datasets
20- # Breakage fix.
21- ml-dtypes==0.2.0
Original file line number Diff line number Diff line change 11# Tensorflow cpu-only version.
2- tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
3- tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
4- tensorflow-text>=2.14.0
2+ tf-nightly==2.16.0.dev202310024 # Pin a working nightly until rc0.
3+ tensorflow-text-nightly==2.16.0.dev202310024 # Pin a working nightly until rc0.
54
65# Torch cpu-only version.
76--extra-index-url https://download.pytorch.org/whl/cpu
Original file line number Diff line number Diff line change 11# Tensorflow with cuda support.
22--extra-index-url https://pypi.nvidia.com
3- tf-nightly[and-cuda]==2.15 .0.dev20231009 # Pin a working nightly until rc0.
4- tensorflow-text-nightly==2.15 .0.dev20231009 # Pin a working nightly until rc0.
3+ tf-nightly[and-cuda]==2.16 .0.dev20231024 # Pin a working nightly until rc0.
4+ tensorflow-text-nightly==2.16 .0.dev20231024 # Pin a working nightly until rc0.
55
66# Torch cpu-only version.
77--extra-index-url https://download.pytorch.org/whl/cpu
Original file line number Diff line number Diff line change 11# Tensorflow cpu-only version.
2- tf-nightly==2.15 .0.dev20231009 # Pin a working nightly until rc0.
3- tensorflow-text-nightly==2.15 .0.dev20231009 # Pin a working nightly until rc0.
2+ tf-nightly-cpu ==2.16 .0.dev20231024 # Pin a working nightly until rc0.
3+ tensorflow-text-nightly==2.16 .0.dev20231024 # Pin a working nightly until rc0.
44
55# Torch with cuda support.
66--extra-index-url https://download.pytorch.org/whl/cu118
Original file line number Diff line number Diff line change 11# Tensorflow.
2- tf-nightly == 2.15 .0.dev20231009 # Pin a working nightly until rc0.
3- tensorflow-text-nightly == 2.15 .0.dev20231009 # Pin a working nightly until rc0.
2+ tf-nightly == 2.16 .0.dev20231024 # Pin a working nightly until rc0.
3+ tensorflow-text-nightly == 2.16 .0.dev20231024 # Pin a working nightly until rc0.
44
55# Torch.
66--extra-index-url https://download.pytorch.org/whl/cpu
You can’t perform that action at this time.
0 commit comments