fix flax examples tests (#14646)

* make tensorboard optional

* update test_fetcher for flax examples

* make the tests slow
This commit is contained in:
Suraj Patil
2021-12-07 00:34:27 +05:30
committed by GitHub
parent 03fda7b743
commit 75ae287aec
5 changed files with 74 additions and 15 deletions

View File

@@ -431,6 +431,8 @@ def infer_tests_to_run(output_file, diff_with_last_commit=False, filters=None):
# Example files are tested separately
elif f.startswith("examples/pytorch"):
test_files_to_run.append("examples/pytorch/test_examples.py")
elif f.startswith("examples/flax"):
test_files_to_run.append("examples/flax/test_examples.py")
else:
new_tests = module_to_test_file(f)
if new_tests is not None: