Yunfei
Yunfei
1、use https://github.com/bytedance/byteir/blob/main/frontends/torch-frontend/examples/inference/infer_resnet.py generate resnet.stablehlo.mlir 2、then compile to cuda ``` from byteir import compile compile("./resnet.stablehlo.mlir", "./out.mlir", target="cuda", verbose=True) ``` error shows : ``` compile("./resnet18.stablehlo.mlir", "./resnet18.cuda.mlir", target="cuda", verbose=True) File "/usr/local/lib/python3.8/dist-packages/byteir/compile.py", line 212,...
> > 1、use https://github.com/bytedance/byteir/blob/main/frontends/torch-frontend/examples/inference/infer_resnet.py generate resnet.stablehlo.mlir 2、then compile to cuda > > ``` > > from byteir import compile > > compile("./resnet.stablehlo.mlir", "./out.mlir", target="cuda", verbose=True) > > ``` > >...