Troubles to run Resnet neural network through IREE #19562
Unanswered
FlintWangacc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I ran into some troubles in running Resnet vmfb file.
I first convert a pre-trained Resnet model to mlir format with torch-mlir.
Then I convert
resnet.mlir
to vmfb file through IREE.But it turns out the resnet50_rocm.vmfb file has so many arguments.
As you can see, the main exported by vmfb has so many argument.
In pytorch, I use the following to prepare the input tensor.
But this vmfb file requires hundreds of parameters.
I did some research on it. It seems in
pytorch
,aot_export_module
will lift parameters and buffers on the module into graph input. I think this caused the hundreds of parameter.Is there any better way to do it? So I can just pass one use paramter to vmfb file at runtime.
Beta Was this translation helpful? Give feedback.
All reactions