File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 59
59
# Some things put stuff in cache with weird, root read-only
60
60
# permissions. Take them back.
61
61
sudo chown -R "$(whoami)" "${cache_dir}"
62
+
63
+ - name : Run generated tests
64
+ run : |
65
+ bash build_tools/ci/run_paritybench_test.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ git clone https://github.com/jansel/pytorch-jit-paritybench.git
4
+
5
+ cd pytorch-jit-paritybench
6
+
7
+ git checkout 7e55a422588c1d1e00f35a3d3a3ff896cce59e18
8
+ pip install -r requirements.txt
9
+ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
10
+ pip install expecttest
11
+
12
+ cd ..
13
+
14
+ pip install ./compiler
15
+ pip install ./runtime
16
+ pip install . --no-deps
17
+ source build/iree/.env
18
+
19
+ python python/test/generated/main.py --tests-dir ./pytorch-jit-paritybench --limit 100 -j 8
20
+
21
+
You can’t perform that action at this time.
0 commit comments