We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd22dd commit 6b8780fCopy full SHA for 6b8780f
test/test_examples.py
@@ -7,6 +7,8 @@
7
8
import pytest
9
10
+import jax
11
+
12
TESTS_DIR = os.path.dirname(os.path.abspath(__file__))
13
EXAMPLES_DIR = os.path.join(os.path.dirname(TESTS_DIR), "examples")
14
@@ -85,4 +87,5 @@ def test_cpu(example):
85
87
example = example.split()
86
88
filename, args = example[0], example[1:]
89
filename = os.path.join(EXAMPLES_DIR, filename)
90
+ jax.clear_caches()
91
check_call([sys.executable, filename] + args)
0 commit comments