File tree Expand file tree Collapse file tree 2 files changed +48
-4
lines changed
Expand file tree Collapse file tree 2 files changed +48
-4
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
1515
16- test-against- mlir-bindings :
16+ mlir-bindings :
1717
1818 runs-on : ${{ matrix.os }}
1919
5757 run : |
5858 python examples/mwe.py
5959
60- test-against-torch-mlir-bindings :
60+ mlir-bindings-aarch64 :
61+
62+ runs-on : ${{ matrix.os }}
63+
64+ strategy :
65+ fail-fast : false
66+ matrix :
67+ os : [ ubuntu-22.04 ]
68+ py_version : [ "3.10", "3.11" ]
69+
70+ steps :
71+ - name : Checkout
72+ uses : actions/checkout@v2
73+
74+ - name : Install, configure, and test
75+ uses : uraimo/run-on-arch-action@v2
76+ with :
77+ arch : aarch64
78+ distro : ubuntu20.04
79+ dockerRunArgs : --volume "${{ github.workspace }}:/workspace"
80+ install : |
81+
82+ apt-get update -q -y
83+ apt-get install -y wget
84+
85+ mkdir -p ~/miniconda3
86+ wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O miniconda.sh
87+ bash miniconda.sh -b -u -p /root/miniconda3
88+ eval "$(/root/miniconda3/bin/conda shell.bash hook)"
89+ conda init
90+ conda install -q -y python=${{ matrix.py_version }}
91+
92+ run : |
93+
94+ eval "$(/root/miniconda3/bin/conda shell.bash hook)"
95+
96+ cd /workspace
97+
98+ pip install .[test,mlir] -f https://makslevental.github.io/wheels
99+ configure-mlir-python-utils -y mlir
100+
101+ pytest --capture=tee-sys --ignore-glob=*test_smoke* tests
102+ python examples/mwe.py
103+
104+ torch-mlir-bindings :
61105
62106 runs-on : ${{ matrix.os }}
63107
97141 fi
98142
99143
100- test-against- jax-bindings :
144+ jax-bindings :
101145
102146 runs-on : ${{ matrix.os }}
103147
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies = [
1717test = [" pytest" , " mlir-native-tools" , " astpretty" ]
1818torch-mlir = [" torch-mlir-core" ]
1919jax = [" jax[cpu]" , ]
20- mlir = [" mlir-python-bindings" ]
20+ mlir = [" mlir-python-bindings==18.0.0.2023090322+19d286bc " ]
2121
2222[project .scripts ]
2323configure-mlir-python-utils = " mlir_utils:_configuration.configuration.configure_host_bindings"
You can’t perform that action at this time.
0 commit comments