You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regenerate .mlirbc files for tests and benchmarks after LLVM integrate #17330 #17344
changed the title [-]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate#17330[/-][+]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate #17330[/+]on May 10, 2024
was a compatibility-breaking change to this op. The MLIR bytecode format version was not bumped
That's expected. The bytecode format version is not tied to any particular dialect, and the tensor dialect makes no guarantees about its format or ops (unlike, say, VHLO from StableHLO). We've been fairly lucky recently in avoiding similar breaks.
resnet50 crashed in the compiler at mlir::iree_compiler::IREE::Util::serializeResourceRawData D:\dev\projects\iree\compiler\src\iree\compiler\Dialect\Util\IR\UtilAttrs.cpp:230:0
We might be able to download the existing files, edit them manually to use the new tensor.expand_shape syntax, then upload them and update the URLs. I'm not sure who has access to https://storage.googleapis.com/iree-model-artifacts/ anymore though. We could push there if someone still has access or push elsewhere (a github repo with LFS, Azure, etc.)
changed the title [-]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate #17330[/-][+]Regenerate `.mlirbc` files for tests and benchmarks after LLVM integrate #17330[/+]on May 30, 2024
resnet50 crashed in the compiler at mlir::iree_compiler::IREE::Util::serializeResourceRawData D:\dev\projects\iree\compiler\src\iree\compiler\Dialect\Util\IR\UtilAttrs.cpp:230:0
Activity
disable more tests and reference iree-org#17344
[-]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate#17330[/-][+]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate #17330[/+]Integrate both llvm-project@2083e97e (+1 ↩️, +1 🍒) and torch-mlir@bce…
ScottTodd commentedon May 10, 2024
That's expected. The bytecode format version is not tied to any particular dialect, and the
tensordialect makes no guarantees about its format or ops (unlike, say, VHLO from StableHLO). We've been fairly lucky recently in avoiding similar breaks.ScottTodd commentedon May 14, 2024
I tried to regenerate the .mlirbc files for https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/resnet50 and https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/opt-125M, but hit issues with both. Need to apply more rigor to those frontend workflows.
mlir::iree_compiler::IREE::Util::serializeResourceRawData D:\dev\projects\iree\compiler\src\iree\compiler\Dialect\Util\IR\UtilAttrs.cpp:230:0ScottTodd commentedon May 15, 2024
Looking through the history of https://github.com/iree-org/iree/commits/main/build_tools/python/e2e_test_framework/models/matmul.py, I can't tell how to regenerate those matmul test files. Quite a few PRs with completely empty descriptions :/
Possibly https://github.com/iree-org/iree-experimental/tree/main/iree-torch/library, https://github.com/iree-org/iree-experimental/tree/main/iree-jax/library, etc.?
We might be able to download the existing files, edit them manually to use the new
tensor.expand_shapesyntax, then upload them and update the URLs. I'm not sure who has access tohttps://storage.googleapis.com/iree-model-artifacts/anymore though. We could push there if someone still has access or push elsewhere (a github repo with LFS, Azure, etc.)bjacob commentedon May 16, 2024
@mariecwhite, we're going to need help here! Context in the issue description above.
[-]Regenerate `.mlirbc` files in e2e tests/benchmarks disabled in LLVM integrate #17330[/-][+]Regenerate `.mlirbc` files for tests and benchmarks after LLVM integrate #17330[/+]ScottTodd commentedon May 30, 2024
For https://github.com/iree-org/iree/tree/main/experimental/regression_suite/tests/pregenerated, tests are still disabled:
iree/.github/workflows/pkgci_regression_test.yml
Lines 190 to 197 in 2587078
Instructions for regenerating are at https://github.com/nod-ai/SHARK-Turbine/tree/main/models/turbine_models/custom_models#instructions, but that code hasn't been touched in a while, so it might need other updates too.
ScottTodd commentedon May 30, 2024
Okay, so https://github.com/nod-ai/SHARK-TestSuite/blob/main/.github/workflows/test_e2eshark.yml (what is generating reports like these) is actually pinned to a very old PyTorch version (
2.1.0, 8 months old) by using the requirements files in https://github.com/nod-ai/SHARK-Turbine/tree/torch_2.1/core (that repo itself has also moved to https://github.com/iree-org/iree-turbine).RuntimeError: Windows not yet supported for torch.compileTypeError: forward() got an unexpected keyword argument 'constraints'Integrate both llvm-project@2083e97e (+1 ↩️, +1 🍒) and torch-mlir@bce…
mariecwhite commentedon Jun 27, 2024
Sorry this got buried in my inbox. I've updated the matmul MLIR files and included instructions on how to regenerate them here: #17748
Integrate both llvm-project@2083e97e (+1 ↩️, +1 🍒) and torch-mlir@bce…
Delete test_models job using SHARK-TestSuite/iree_tests. (iree-org#19614
Delete iree_tests folder. (#425)
Delete test_models job using SHARK-TestSuite/iree_tests. (#19614)
Delete iree_tests folder. (#425)
Delete iree_tests folder. (#425)