You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MobileNet V2 can't be compiled toward valhall-g77-unknown-android10 in Linalg on tensors #5190
Describe the bug
The model can be compiled with --iree-vulkan-target-triple=qualcomm-adreno640-unknown-android10, but not --iree-vulkan-target-triple=valhall-g77-unknown-android10.
I found this when I tried to add new metrics for Linalg on tensors path to benchmark infra. This is not urgent. I filed this for tracking the issue. Assign to @antiagainst since he has been working on MobileNet V2.
I think you missed -iree-spirv-enable-vectorization in the command line options. Note that we will turn on vectorization by default in the new tensor-based path so we don't need to explicit set it in the future.
I was not aware that turning vectorization off would affect the success of compilation, but I guess maybe #5187 fixed it... Anyway, thanks for looking into this.
Activity
antiagainst commentedon Mar 30, 2021
I think you missed
-iree-spirv-enable-vectorizationin the command line options. Note that we will turn on vectorization by default in the new tensor-based path so we don't need to explicit set it in the future.antiagainst commentedon Mar 30, 2021
Verified that with vectorization turned on it works.
hanhanW commentedon Mar 30, 2021
I was not aware that turning vectorization off would affect the success of compilation, but I guess maybe #5187 fixed it... Anyway, thanks for looking into this.