kohya_ss
kohya_ss copied to clipboard
kohya_ss expects a lower oneAPI version
I have a B580 and I am on Ubuntu 25.04, so, naturally, I ran ./setup.sh --use_ipex and it worked. However, when I ran ./gui.sh I got this: NotFoundError: libsycl.so.7: cannot open shared object file: No such file or directory. After some research, I found out that the libsycl.so.7 is present on a lower oneAPI version. I didnt search enough to know exactly when, but I found out it was present on the latest 2024 version. The problem is that there are only 2025 versions available:
(base) davi@davi:~/AI/kohya_ss$ sudo apt policy intel-oneapi-base-toolkit
intel-oneapi-base-toolkit:
Installed: 2025.2.0-587
Candidate: 2025.2.0-587
Version table:
*** 2025.2.0-587 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
100 /var/lib/dpkg/status
2025.1.3-6 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
2025.1.2-6 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
2025.1.1-33 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
2025.1.0-627 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
2025.0.1-45 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
2025.0.0-884 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
I was able to fix this error by using the latest versions of intel-extension-for-tensorflow[xpu], mkl, mkl-dpcpp, oneccl-devel and impi-devel.