Code Monkey home page Code Monkey logo

Comments (5)

silvasean avatar silvasean commented on August 22, 2024

Can you try using the latest IREE? The first error is a known error that was fixed recently. Not sure about the second.

from torch-mlir.

silvasean avatar silvasean commented on August 22, 2024

I just ran into the hal.constant_pool.load issue myself. It was pointing at an opaque constant dumped by the reproducer. Do you have large_elements_limit on your get_asm call? If you do, then removing it should fix the issue.

I will try to make IREE give a better diagnostic for this.

from torch-mlir.

maxyanghu avatar maxyanghu commented on August 22, 2024

Hello Sean, Thanks for the answer!

I upgraded to the latest iree-runtime-snapshot and iree-compiler-snapshot from https://github.com/google/iree/releases/tag/snapshot-20210816.466 and the first error is gone. Could you point me to the patch which fixed this problem so that I can merge it into my custom iree project?

As for the second error, I also changed to the lastest iree snapshot and I dropped the large_elements_limit option in my get_asm call:
image
but the error still exists with a slightly different error message:
image

from torch-mlir.

silvasean avatar silvasean commented on August 22, 2024

The first error was fixed by iree-org/iree#6629

For debugging the second, can you file an IREE bug with appropriate starting IR and iree-translate command to reproduce? I don't think this is npcomp-specific. (feel free to add me on that bug, I work actively with IREE as well)

btw, I'll be on vacation for the next week, but I'll respond right as I get back

from torch-mlir.

maxyanghu avatar maxyanghu commented on August 22, 2024

Sure, Thanks!

from torch-mlir.

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.