intel-extension-for-pytorch icon indicating copy to clipboard operation
intel-extension-for-pytorch copied to clipboard

[IPEX][XPU][Windows 11] It takes forever to run the first pass

Open whchan05 opened this issue 1 year ago • 28 comments

Describe the issue

Title. Once the first pass is complete, subsequent passes can be run faster. Seem to only happen when the device is set to XPU.

XPU:

before loading time xpu

CPU:

after loading time cpu

Environment:

CPU: 5700X GPU: A770LE RAM: 96GB OS: Win 11

oneAPI:

DPC++ Compiler: 2023.2.0 MKL: 2023.2.0 Torch: 2.0.0a0 IPEX: 2.0.110+gitba7f6c1

Driver:

31.0.101.4577 WHQL

Others:

Miniconda: 23.5.2 Python: 3.10.12 Stable Diffusion WebUI: https://github.com/jbaboval/stable-diffusion-webui Commit: 197dedd

whchan05 avatar Aug 05 '23 04:08 whchan05