Qualcomm AI Engine Direct - AMD backend error#18098
Qualcomm AI Engine Direct - AMD backend error#18098winskuo-quic wants to merge 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18098
Note: Links to docs will display an error until the docs builds have been completed. ❌ 20 New FailuresAs of commit 6455008 with merge base fde943a ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
Hi @cccclai, @abhinaykukkadapu, |
digantdesai
left a comment
There was a problem hiding this comment.
I assume this is during eager model runs?
|
Would you mind creating a ticket on PyTorch/PyTorch? |
Hi @digantdesai, |
Summary
We noticed that when performing inference with AMD CPU, we will run into
Floating point exception (core dumped).This can be easily reproduced with following lines of code:
import torch.nn as nn
import torch
w2_conv = nn.Conv2d(1536, 32, 1, bias=False)
x = torch.randn(1,1536,1,32)
w2_conv(x)
Temp solution is to set mkldnn.enabled=False:
torch.backends.mkldnn.enabled = False
Test plan
NA
cc @cccclai @cbilgin