File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 31
31
- name : " Setting up Python"
32
32
uses : actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # v2.3.3
33
33
with :
34
- python-version : " 3.11 "
34
+ python-version : " 3.10 "
35
35
36
36
- name : Sync source deps
37
37
run : |
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