IPEX bundle in MKL and DPCPP

This commit is contained in:
Disty0 2023-12-14 12:48:22 +03:00
parent d152befe54
commit d8e90132a5
2 changed files with 3 additions and 11 deletions

View File

@ -27,6 +27,8 @@ dependencies:
- --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
- torch==2.1.0a0
- intel-extension-for-pytorch==2.1.10+xpu
- mkl==2024.0.0
- mkl-dpcpp==2024.0.0
- openvino
- onnxruntime-openvino
- flask-cloudflared==0.0.10

View File

@ -4,17 +4,7 @@ if [ ! -f "runtime/envs/koboldai-ipex/bin/python" ]; then
./install_requirements.sh ipex
fi
#Set OneAPI environmet if it's not set by the user
if [ ! -x "$(command -v sycl-ls)" ]
then
echo "Setting OneAPI environment"
if [[ -z "$ONEAPI_ROOT" ]]
then
ONEAPI_ROOT=/opt/intel/oneapi
fi
source $ONEAPI_ROOT/setvars.sh
fi
export LD_LIBRARY_PATH=$(realpath "runtime/envs/koboldai-ipex")/lib/:$LD_LIBRARY_PATH
export LD_PRELOAD=/usr/lib/libstdc++.so
export NEOReadDebugKeys=1
export ClDeviceGlobalMemSizeAvailablePercent=100