-
Notifications
You must be signed in to change notification settings - Fork 29
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
dpctl does not detect gpu devices after latest dppy/label/dev push ? #1006
Comments
@fcharras Could you please specify the output of The changes to bundling of drivers in conda installation tree has been been published yet. Something else is going on here. |
|
@fcharras It may be that DPC++ RT is encountering difficulties with drivers. This can be diagnosed with setting At the top of the output I am seeing
Also it would be helpful to ensure that no inconsistency exists in your environment. Can you please include the output of |
|
@fcharras Further diagnostics depends on whether you use conda-forge's OpenCL loader, or the one obtained from Intel. The difference is that conda-forge's will only use |
Using |
Output of
|
I'm getting progress on the issue, I have it in a working state again with a more complicated procedure for installing gpu drivers and using
I'll update the guide when I understand more which driver package is necessary. |
For the GPU, the driver issue comes down to what version of If using ubuntu 2204 repositories we have intel-opencl-icd (22.14.22890-1), gpu is not detected. Using latest release:
it works. |
Digging deeper, it also works when installing the same version than in jammy repositories, but from the github repository. Upon inspection, the files contain the same files. But the hashes are different:
So apparently those two are not built the same way and it's causing compatibility issues ? @oleksandr-pavlyk do you think this could be an issue on the dpctl/sycl or in the ubuntu distribution ? if ubuntu i'll forward the bug report. |
Based on your last comment, this has to do with Intel Compute Runtime component (intel-opencl-icd) which implements OpenCL driver for Intel(R) UHD Graphics. Also since changing changing the libraries without changing DPC++ installation and There must be an issue with those particular libraries. I'd start with reporting to Ubuntu. |
Maybe this issue could be closed and a new one opened with the actual issue. I think it should also be tracked as a I must believe my initial report of behavior change with releases from 03/12 is wrong, and I got confused in combinations of instructions that are possible (regarding driver installation and channel parameters). |
Thank you for the report and the investigations @fcharras. I am closing this one. Please open a separate issue instead. |
I think something broke regarding gpu detection after push from 2022-12-03
Here are the installation instructions I'm using: (tested both in fresh ubuntu 2004 and 2204 docker containers)
I'm almost certain this last python command would print both cpu and gpu devices when tested on
2022-12-02
but from today on I tried several variations of those commands and can't get any gpu device to be detected. On the other hand it seems that settingOCL_ICD_FILENAMES_RESET=1 OCL_ICD_FILENAMES=libintelocl.so
is not required anymore forcpu
to be detected.I think @oleksandr-pavlyk was trying to bundle the drivers in the conda installation tree maybe this is related ? my guess would be that now
dpctl
is correctly usinglibintelocl.so
in the conda prefix, but it stopped usingls /etc/OpenCL/vendors/intel.icd
(or some other thing it was using before) to get tolibigdrcl.so
?The text was updated successfully, but these errors were encountered: