Code Monkey home page Code Monkey logo

Comments (6)

hanhanW avatar hanhanW commented on June 3, 2024 1

posting how to get mlir file here, I think you can download the file from one of CI jobs, e.g., gcloud storage cp gs://iree-github-actions-presubmit-artifacts/7422301781/1/e2e-test-artifacts/iree_MobileNetV2_int8_tflite_.mlir ~/

You can add --iree-hal-dump-executable-sources-to=/tmp/dump to dump dispatches; it might help narrowing it down to specific dispatch. Then you can use iree-compile with --compile-mode=hal-executable flag to generate the VMFB. Hopefully it could help narrow down the issue.

from iree.

hanhanW avatar hanhanW commented on June 3, 2024

Error dump: https://gist.githubusercontent.com/hanhanW/c573ab5cfc5a066db07f580089258733/raw/5e07669fa516f3d9c8393f962d59629df0c6ebfb/out

from iree.

dcaballe avatar dcaballe commented on June 3, 2024

Hey @rednoah91, could anybody from your side help with this?

iree-compile: /home/hanchung/iree/third_party/llvm-project/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp:659: std::optional<EstimatedUnrollCost> analyzeLoopUnrollCost(const llvm::Loop *, unsigned int, llvm::DominatorTree &, llvm::ScalarEvolution &, const SmallPtrSetImpl<const llvm::Value *> &, const llvm::TargetTransformInfo &, unsigned int, unsigned int): Assertion `UnrolledCost.isValid() && RolledDynamicCost.isValid() && "All instructions must have a valid cost, whether the " "loop is rolled or unrolled."' failed.

from iree.

hanhanW avatar hanhanW commented on June 3, 2024

I talked to @rednoah91 today, and he can help take a look at this. @rednoah91 please let us know if someone is taking a look at this.

from iree.

rednoah91 avatar rednoah91 commented on June 3, 2024

I've tried the ToT build (6ab1ed) but can not reproduce the error.

from iree.

hanhanW avatar hanhanW commented on June 3, 2024

It seems to be fixed by some upstream changes. We can re-enable the model, I will prepare the PR

from iree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.