Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanity Check Failed on A770 #708

Open
chunsheong opened this issue Sep 19, 2024 · 4 comments
Open

Sanity Check Failed on A770 #708

chunsheong opened this issue Sep 19, 2024 · 4 comments
Assignees

Comments

@chunsheong
Copy link

Describe the bug

Followed the installation steps here. https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu&version=v2.3.110%2bxpu&os=linux%2fwsl2&package=pip

python -c "import torch; import intel_extension_for_pytorch as ipex; print(torch.version); print(ipex.version); [print(f'[{i}]: {torch.xpu.get_device_properties(i)}') for i in range(torch.xpu.device_count())];"

2.3.1+cxx11.abi
2.3.110+xpu
Traceback (most recent call last):
File "", line 1, in
File "/home/user/ComfyUI/venv/lib/python3.10/site-packages/torch/xpu/init.py", line 57, in device_count
return torch._C._xpu_getDeviceCount()
RuntimeError: Native API failed. Native API returns: -1102 (PI_ERROR_UNINITIALIZED) -1102 (PI_ERROR_UNINITIALIZED)

Versions

2.3.110+xpu

@alexsin368 alexsin368 self-assigned this Sep 19, 2024
@chsasank
Copy link

Can confirm this issue. Looks like this is similar to #702

@alexsin368
Copy link

@chunsheong let me try reproducing this issue on my end and get back to you

@xiguiw
Copy link
Contributor

xiguiw commented Sep 24, 2024

@chunsheong @chsasank @alexsin368
Similar issue fixed in 702. Please refer to 702

@alexsin368
Copy link

@chunsheong this is the solution from issue #702:

If it is 6.0.29 in conda, please update it to 6.0.30 and version above by:

conda install -c conda-forge libstdcxx-ng or
preload the one in /usr/lib
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30

Try that and let us know if it resolves your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants