Giter Site home page Giter Site logo

Comments (10)

hunbssfy avatar hunbssfy commented on June 15, 2024 1

@silvasean
Hi, I just tried the newest commit and both commands seem to go through. Although I am running a custom-built IREE and e2e test failed, I'll have a look at the tests myself, Thanks!

from torch-mlir.

silvasean avatar silvasean commented on June 15, 2024 1

The latest IREE has the fix for builtin.module. This is the current list I see locally (will update xfail sets soon)

PASS - "MmModule_basic"
PASS - "MmModule_chained"
PASS - "MmDagModule_basic"
PASS - "MmTanhModule_basic"
PASS - "AdaptiveAvgPool2dModule_basic"
PASS - "FlattenStaticModule_basic"
PASS - "FlattenRank0Module_basic"
XFAIL - "FlattenDynamicModule_basic"
XFAIL - "MaxPool2dModule_basic"
XPASS - "ResNet18Module_basic"
PASS - "Mlp1LayerModule_basic"
PASS - "Mlp2LayerModule_basic"
PASS - "Conv2dNoPaddingModule_basic"
FAIL - "Conv2dWithPaddingModule_basic"
XFAIL - "Conv2dWithPaddingDilationStrideModule_basic"
PASS - "BatchNorm1DModule_basic"
PASS - "BatchNorm2DModule_basic"
PASS - "BatchNorm3DModule_basic"
XFAIL - "QuantizedMLP_basic"
PASS - "ElementwiseUnaryModule_basic"
PASS - "ElementwiseBinaryModule_basic"
PASS - "ElementwiseTernaryModule_basic"
PASS - "ElementwiseAddModule_basic"
PASS - "ElementwiseUnsqueezeBroadcastModule_basic"
PASS - "ElementwiseFlattenBroadcastModule_basic"
PASS - "ElementwiseReluModule_basic"

from torch-mlir.

silvasean avatar silvasean commented on June 15, 2024

I just refreshed the instructions: a153cf4

Can you give them a try? If not, can you include the full logs with the errors?

from torch-mlir.

hunbssfy avatar hunbssfy commented on June 15, 2024

Hi @silvasean,

About the failed tests yesterday... I started a fresh docker and built npcomp, I installed iree (not my custom built one) via pip. But the tests still failed:

image

Maybe the newest commits caused this?

from torch-mlir.

cathyzhyi avatar cathyzhyi commented on June 15, 2024

Currently IREE backend is failing because we bumped our LLVM version to pickup some fixes and changes from the upstream but IREE is still using the old LLVM. If you add -v you will see the failure is because builtin.module can't be recognized. The op is the result of recent MLIR refactoring and the older MLIR used by IREE is not aware of this op.

Other than the LLVM version issue, there might be some smaller issues which should be fixed shortly.

from torch-mlir.

cathyzhyi avatar cathyzhyi commented on June 15, 2024

Ha, seems ResNet18Module_basic passed with IREE as well?

from torch-mlir.

silvasean avatar silvasean commented on June 15, 2024

yep :)

from torch-mlir.

hunbssfy avatar hunbssfy commented on June 15, 2024

@silvasean Do you know which patch in iree fix the builtin.module issue?
image

from torch-mlir.

stellaraccident avatar stellaraccident commented on June 15, 2024

It's an asm format change from upstream. It will have come in via an iree submodule bump. We don't track such unstable changes between releases.

from torch-mlir.

hunbssfy avatar hunbssfy commented on June 15, 2024

@stellaraccident Thanks, I'll just update upstream version directly.

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.