mirror of https://github.com/llvm/torch-mlir
Bring CI back to life.
This brings back `check-npcomp-all` and the refbackend e2e tests coverage.pull/307/head
parent
b6be96d722
commit
d94d6800fa
|
@ -44,12 +44,11 @@ jobs:
|
||||||
-DPython3_EXECUTABLE=$(which python) \
|
-DPython3_EXECUTABLE=$(which python) \
|
||||||
-DLLVM_ENABLE_ASSERTIONS=ON \
|
-DLLVM_ENABLE_ASSERTIONS=ON \
|
||||||
-DLLVM_TARGETS_TO_BUILD=host
|
-DLLVM_TARGETS_TO_BUILD=host
|
||||||
ninja
|
ninja check-npcomp-all
|
||||||
ninja check-npcomp check-frontends-pytorch
|
|
||||||
- name: Refbackend integration tests
|
- name: Refbackend integration tests
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE
|
cd $GITHUB_WORKSPACE
|
||||||
export PYTHONPATH="$GITHUB_WORKSPACE/build/python_packages/npcomp_core:$GITHUB_WORKSPACE/build/python_packages/npcomp_torch"
|
export PYTHONPATH="$GITHUB_WORKSPACE/build/python_packages/npcomp_core:$GITHUB_WORKSPACE/build/python_packages/npcomp_torch:$GITHUB_WORKSPACE/build/python_packages/torch_mlir:$GITHUB_WORKSPACE/build/python_packages/torch_mlir_dialects"
|
||||||
python -m frontends.pytorch.e2e_testing.torchscript.main --config=refbackend
|
python -m frontends.pytorch.e2e_testing.torchscript.main --config=refbackend
|
||||||
|
|
||||||
# build_wheels:
|
# build_wheels:
|
||||||
|
|
|
@ -113,3 +113,5 @@ add_mlir_python_modules(NPCOMPPythonModules
|
||||||
COMMON_CAPI_LINK_LIBS
|
COMMON_CAPI_LINK_LIBS
|
||||||
NPCOMPPythonCAPI
|
NPCOMPPythonCAPI
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies(NPCOMPPythonModules NPCOMPPythonResources)
|
||||||
|
|
Loading…
Reference in New Issue