Skip to content

Commit 3a9a94d

Browse files
authored
Update dependency version used in LLM setup script (#4724)
* update driver pkg versions * update llm setup script * restore changes in env_setup.sh
1 parent 2f59bc7 commit 3a9a94d

File tree

6 files changed

+14
-16
lines changed

6 files changed

+14
-16
lines changed

examples/gpu/llm/fine-tuning/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ rouge_score
33
fire
44
transformers==4.41.2
55
tokenizers>=0.13.3
6-
wandb
6+
wandb==0.17.5
77
trl==0.9.4

examples/gpu/llm/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ bitsandbytes
1414
transformers_stream_generator
1515
einops
1616
deepspeed==0.14.4
17-
wandb==0.17.5

examples/gpu/llm/tools/env_setup.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ if [ $((${MODE} & 0x02)) -ne 0 ]; then
8686
exit 3
8787
fi
8888
VER_TORCHCCL=$(python scripts/tools/compilation_helper/dep_ver_utils.py -f dependency_version.json -k torch-ccl:version)
89-
VER_GCC=$(python scripts/tools/compilation_helper/dep_ver_utils.py -f dependency_version.json -k gcc:min-version)
9089
VER_TORCH=$(python scripts/tools/compilation_helper/dep_ver_utils.py -f dependency_version.json -k pytorch:version)
9190
VER_IPEX_MAJOR=$(grep "VERSION_MAJOR" version.txt | cut -d " " -f 2)
9291
VER_IPEX_MINOR=$(grep "VERSION_MINOR" version.txt | cut -d " " -f 2)

scripts/compile_bundle.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
setlocal
33

44
set "VER_IPEX=xpu-main"
5+
set "ENABLE_ONEAPI_INTEGRATION=1"
56

67
if "%~2"=="" (
78
echo Usage: %~nx0 ^<DPCPPROOT^> ^<MKLROOT^> [AOT]
@@ -200,7 +201,6 @@ if NOT "%AOT%"=="" (
200201
set "BUILD_WITH_CPU=0"
201202
set "USE_MULTI_CONTEXT=1"
202203
set "DISTUTILS_USE_SDK=1"
203-
set "ENABLE_ONEAPI_INTEGRATION=1"
204204
python setup.py clean
205205
python setup.py bdist_wheel
206206
set "ENABLE_ONEAPI_INTEGRATION="

scripts/compile_bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
set -eo pipefail
77

8-
VER_IPEX=xpu-main
8+
VER_IPEX=v2.3.110+xpu
99
ENABLE_ONEAPI_INTEGRATION=1
1010

1111
if [[ $# -lt 6 ]]; then

scripts/tools/compilation_helper/basekit_driver_install_helper.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,26 +150,26 @@ function install-driver() {
150150
POSTFIX="24.04"
151151
fi
152152
${SUDO} apt update
153-
${SUDO} apt install -y intel-opencl-icd=24.22.29735.27-914~${POSTFIX} \
154-
libze1=1.17.6-914~${POSTFIX} \
155-
libze-dev=1.17.6-914~${POSTFIX} \
156-
intel-level-zero-gpu=1.3.29735.27-914~${POSTFIX} \
157-
xpu-smi=1.2.35-56~${POSTFIX}
153+
${SUDO} apt install -y intel-opencl-icd=24.26.30049.10-950~${POSTFIX} \
154+
libze1=1.17.6-950~${POSTFIX} \
155+
libze-dev=1.17.6-950~${POSTFIX} \
156+
intel-level-zero-gpu=1.3.30049.10-950~${POSTFIX} \
157+
xpu-smi=1.2.35-59~${POSTFIX}
158158
fi
159159
if [[ " rhel centos " =~ " ${OS_ID} " ]]; then
160-
${SUDO} dnf install -y intel-opencl-24.22.29735.27 \
160+
${SUDO} dnf install -y intel-opencl-24.26.30049.10 \
161161
level-zero-1.17.6 \
162162
level-zero-devel-1.17.6 \
163-
intel-level-zero-gpu-1.3.29735 \
164-
intel-ocloc-24.22.29735.27 \
163+
intel-level-zero-gpu-1.3.30049 \
164+
intel-ocloc-24.26.30049.10 \
165165
xpu-smi-1.2.35
166166
fi
167167
if [ "${OS_ID}" = "opensuse-leap" ]; then
168-
${SUDO} zypper install -y --oldpackage intel-opencl-24.22.29735.27 \
168+
${SUDO} zypper install -y --oldpackage intel-opencl-24.26.30049.10 \
169169
level-zero-1.17.6 \
170170
level-zero-devel-1.17.6 \
171-
intel-level-zero-gpu-1.3.29735 \
172-
intel-ocloc-24.22.29735.27 \
171+
intel-level-zero-gpu-1.3.30049 \
172+
intel-ocloc-24.26.30049.10 \
173173
xpu-smi-1.2.35
174174
fi
175175
}

0 commit comments

Comments
 (0)