Skip to content

Build against TF2.13 #2835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
Jul 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4ce8745
Build against TF2.13
seanpmorgan May 31, 2023
b875853
Build against TF2.13
seanpmorgan May 31, 2023
04520fa
Partial fix spectral_normalization_test.py
seanpmorgan Jun 1, 2023
118ec1a
Partial fix wrappers_test.py
seanpmorgan Jun 1, 2023
54f1cc2
Update RC2
seanpmorgan Jun 26, 2023
a6ff967
Update 2.13 final
bhack Jul 3, 2023
b5aa9dc
Revert "Update 2.13 final"
bhack Jul 3, 2023
bf5a9c5
Update 2.13 final
bhack Jul 3, 2023
6dd4f55
Updates for serialization
Jul 6, 2023
6f6de7b
Updates for serialization
Jul 6, 2023
25b083d
flake8
Jul 6, 2023
5832041
Clean up
Jul 6, 2023
888e267
Clean up
Jul 6, 2023
1c84509
Clean up
Jul 6, 2023
de4c241
Clean up
Jul 6, 2023
a3e2f1f
Attempt attention fix new serialization
Jul 7, 2023
d19bb0e
Attempt attention fix new serialization
Jul 7, 2023
7cf612b
Update serialization
seanpmorgan Jul 9, 2023
1d3d372
Skip scipy error
seanpmorgan Jul 9, 2023
f24c413
flake8
seanpmorgan Jul 9, 2023
0f6132a
flake8
seanpmorgan Jul 9, 2023
5945f03
Rm py38
seanpmorgan Jul 9, 2023
6f5d5d1
Fix pytest param
seanpmorgan Jul 9, 2023
b514dc6
debug
seanpmorgan Jul 10, 2023
37a70fd
Set GPU shm size
seanpmorgan Jul 10, 2023
8c1d7a7
Update shm
seanpmorgan Jul 10, 2023
e0fad9c
Debug
Jul 10, 2023
b828f79
Debug
Jul 10, 2023
606071c
Run GPU on 2.12
Jul 10, 2023
6469afd
Revert "Run GPU on 2.12"
Jul 10, 2023
f30f807
Debug container
Jul 10, 2023
275ef5e
test nightly
Jul 10, 2023
ff5e67a
Revert "test nightly"
Jul 10, 2023
147d756
Skip failing dist test on tf2.13
Jul 10, 2023
8c6e39c
Use tf2.13 container
Jul 10, 2023
f75b7e6
Debug
Jul 10, 2023
ac21bee
Clean pytest-dist
seanpmorgan Jul 11, 2023
1c553fd
Skip mirror tests for >2.13
seanpmorgan Jul 11, 2023
b641597
Remove sort
seanpmorgan Jul 11, 2023
c06b07b
format
seanpmorgan Jul 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clean pytest-dist
  • Loading branch information
seanpmorgan committed Jul 11, 2023
commit ac21bee3f2d8216d1db1fd43df81f5a0db01475a
11 changes: 1 addition & 10 deletions tools/testing/build_and_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,5 @@ python ./configure.py
bash tools/install_so_files.sh
python -c "import tensorflow as tf; print(tf.config.list_physical_devices())"

# use 10 workers if a gpu is available, otherwise,
# one worker per cpu core. Kokoro has 38 cores, that'd be too much
# for the gpu memory, until we change the device placement to
# use multiple gpus when they are available.
EXTRA_ARGS="-n 10"
if ! [ -x "$(command -v nvidia-smi)" ]; then
EXTRA_ARGS="-n auto"
fi

bazel clean
python -m pytest -v --functions-durations=20 --modules-durations=5 $SKIP_CUSTOM_OP_TESTS_FLAG $EXTRA_ARGS ./tensorflow_addons
python -m pytest -v --functions-durations=20 --modules-durations=5 $SKIP_CUSTOM_OP_TESTS_FLAG ./tensorflow_addons