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
I am experiencing an issue with the IPEX (Intel Extension for PyTorch) integration. Whenever I execute the torch._C.init_xpu() function, I notice a consistent increase in memory usage of approximately 500MB. This behavior is reproducible and seems to occur every time the function is called.
Environment:
OS: Windows 11
PyTorch version: 2.13.1
Hardware: Utlra 5 288V
Steps to reproduce:
Install PyTorch and IPEX following the official instructions.
Run the following Python code:
import torch
torch._C.init_xpu()
Monitor the memory usage before and after the function call.
Expected behavior: The memory usage should remain stable or increase only minimally when calling torch._C.init_xpu().
Actual behavior: The memory usage increases by approximately 500MB.
Additional context: I have tried various memory profiling tools to track this issue and it consistently points to the torch._C.init_xpu() call as the source of the memory increase.
Is there a known issue related to this? Are there any workarounds or best practices to prevent such a significant memory allocation when initializing XPU with IPEX?
Describe the bug
I am experiencing an issue with the IPEX (Intel Extension for PyTorch) integration. Whenever I execute the torch._C.init_xpu() function, I notice a consistent increase in memory usage of approximately 500MB. This behavior is reproducible and seems to occur every time the function is called.
Environment:
OS: Windows 11
PyTorch version: 2.13.1
Hardware: Utlra 5 288V
Steps to reproduce:
Install PyTorch and IPEX following the official instructions.
Run the following Python code:
Monitor the memory usage before and after the function call.
Expected behavior: The memory usage should remain stable or increase only minimally when calling torch._C.init_xpu().
Actual behavior: The memory usage increases by approximately 500MB.
Additional context: I have tried various memory profiling tools to track this issue and it consistently points to the torch._C.init_xpu() call as the source of the memory increase.
Is there a known issue related to this? Are there any workarounds or best practices to prevent such a significant memory allocation when initializing XPU with IPEX?
Thank you for your assistance.
Versions
The text was updated successfully, but these errors were encountered: