We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755363a commit f453e3fCopy full SHA for f453e3f
intel_extension_for_pytorch/xpu/__init__.py
@@ -31,14 +31,6 @@
31
default_generators: Tuple[torch._C.Generator] = ()
32
_device_t = Union[_device, str, int]
33
34
-# Start of imm cmdlist workaround
35
-# Switch to immediate command list in LevelZero plugin to avoid resource leak.
36
-# The immediate command list will be default in next version of plugin.
37
-# Then, this workaround will be removed soon.
38
-import os
39
-# Enable immediate cmdlist by default
40
-os.environ['SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS']="1"
41
-# End of imm cmdlist workaround
42
43
def is_initialized():
44
r"""Returns whether XPU state has been initialized."""
0 commit comments