Skip to content

Commit

Permalink
fixed some python imports
Browse files Browse the repository at this point in the history
Change required to enable
./tools/torchscript_e2e_test.sh --config=iree
  • Loading branch information
dan-garvey authored and cathyzhyi committed Aug 27, 2021
1 parent 1c53424 commit d7320f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions python/npcomp/compiler/numpy/backend/iree.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import io
import subprocess

from mlir.ir import *
from mlir.passmanager import *
from npcomp.ir import *
from npcomp.passmanager import *
from npcomp.compiler.generic.backend import iree as iree_backend
from npcomp.compiler.utils import logging

Expand Down
4 changes: 2 additions & 2 deletions python/npcomp/compiler/numpy/backend/refjit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import os

from mlir.ir import *
from mlir.passmanager import *
from npcomp.ir import *
from npcomp.passmanager import *
from npcomp.compiler.generic.backend import refjit as refjit_backend
from npcomp.compiler.utils import logging

Expand Down
4 changes: 2 additions & 2 deletions python/npcomp/compiler/pytorch/backend/frontend_lowering.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import torch

from mlir.ir import *
from mlir.passmanager import *
from npcomp.ir import *
from npcomp.passmanager import *
from npcomp.compiler.utils import logging

__all__ = [
Expand Down
4 changes: 2 additions & 2 deletions python/npcomp/compiler/pytorch/backend/iree.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import torch
import numpy as np

from mlir.ir import *
from mlir.passmanager import *
from npcomp.ir import *
from npcomp.passmanager import *
from npcomp.compiler.utils import logging
import iree.runtime as ireert
import iree.compiler as ireec
Expand Down

0 comments on commit d7320f3

Please sign in to comment.