Open chuanqi129 opened 3 months ago
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
Pytorch: git clone -b e2e-baseline https://github.com/etaf/pytorch-inductor-xpu pytorch Test script: inductor_xpu_test.sh
git clone -b e2e-baseline https://github.com/etaf/pytorch-inductor-xpu pytorch
inductor_xpu_test.sh
DALLE2_pytorch and sam float16 cuda has same failure message
DALLE2_pytorch
sam
These issues also happen on A100 platform, not related to xpu implementation
🐛 Describe the bug
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
ModelVersions
Pytorch:
git clone -b e2e-baseline https://github.com/etaf/pytorch-inductor-xpu pytorch
Test script:inductor_xpu_test.sh