IPEX bundle in MKL and DPCPP
This commit is contained in:
parent
d152befe54
commit
d8e90132a5
|
@ -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
|
||||
|
|
12
play-ipex.sh
12
play-ipex.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue