Open
Description
I have a A770 16 GB and I installed intel-compute-runtime 22.43.24595.30 and intel extensions for pytorch v1.13.10+xpu on Linux Kernel 6.2rc8
When you try to allocate more than 8 GB.
import torch
import torchvision
import intel_extension_for_pytorch as ipex
size = 46000
w = torch.rand(size, size, dtype=torch.bfloat16, device='xpu')
x = torch.rand(size, size, dtype=torch.bfloat16, device='xpu')
The python script crashes.
RuntimeError: Native API failed. Native API returns: -997 (The plugin has emitted a backend specific error) -997 (The plugin has emitted a backend specific error)
intel/intel-extension-for-pytorch#296
However, allocating less than 8 GB, works perfectly. Why is there a memory limit on A770 16 GB?
Metadata
Metadata
Assignees
Labels
No labels