Skip to content

Commit d799844

Browse files
authored
Merge pull request #54 from tsisw/FIR-979
@FIR-979 - llama.cpp update to latest SDK(sdk-r.0.1.9)
2 parents 0e6f8a7 + 74be9a5 commit d799844

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (GGML_TSAVORITE)
1515

1616
if (NOT DEFINED MLIR_COMPILER_DIR)
1717
if (NOT DEFINED $ENV{MLIR_SDK_VERSION})
18-
set (MLIR_COMPILER_DIR /proj/rel/sw/sdk-r.0.1.8/compiler)
18+
set (MLIR_COMPILER_DIR /proj/rel/sw/sdk-r.0.1.9/compiler)
1919
message("MLIR_SDK_VERSION not set defaulting to ${MLIR_COMPILER_DIR}")
2020
else()
2121
set (MLIR_COMPILER_DIR $ENV{MLIR_SDK_VERSION}/compiler)
@@ -24,7 +24,7 @@ if (GGML_TSAVORITE)
2424

2525
if (NOT DEFINED RUNTIME_DIR)
2626
if (NOT DEFINED $ENV{MLIR_SDK_VERSION})
27-
set (RUNTIME_DIR /proj/rel/sw/sdk-r.0.1.8/${GGML_TSAVORITE_TARGET}/runtime)
27+
set (RUNTIME_DIR /proj/rel/sw/sdk-r.0.1.9/${GGML_TSAVORITE_TARGET}/runtime)
2828
message("MLIR_SDK_VERSION not set defaulting to ${RUNTIME_DIR}")
2929
else()
3030
set (RUNTIME_DIR $ENV{MLIR_SDK_VERSION}/${GGML_TSAVORITE_TARGET}/runtime)

ggml-tsi-kernel

tsi-pkg-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ echo 'updating submodule'
66
git submodule update --recursive --init
77
cd ggml-tsi-kernel/
88
module load tsi4 gcc/13.3.0
9-
export MLIR_SDK_VERSION=/proj/rel/sw/sdk-r.0.1.8
9+
export MLIR_SDK_VERSION=/proj/rel/sw/sdk-r.0.1.9
1010
echo 'creating python virtual env'
1111
/proj/local/Python-3.10.12/bin/python3 -m venv blob-creation
1212
source blob-creation/bin/activate
1313
echo 'installing mlir and python dependencies'
1414
pip install -r ${MLIR_SDK_VERSION}/compiler/python/requirements-common.txt
15-
pip install ${MLIR_SDK_VERSION}/compiler/python/mlir_external_packages-1.4.1-py3-none-any.whl
15+
pip install ${MLIR_SDK_VERSION}/compiler/python/mlir_external_packages-1.4.2-py3-none-any.whl
1616
pip install onnxruntime-training
1717

1818
#build TSI kernels for the Tsavorite backend
@@ -69,7 +69,7 @@ cmake --build build-fpga --config Release
6969

7070

7171
echo 'creating tar bundle for fpga'
72-
TSI_GGML_VERSION=0.0.7
72+
TSI_GGML_VERSION=0.0.8
7373
TSI_GGML_BUNDLE_INSTALL_DIR=tsi-ggml
7474
GGML_TSI_INSTALL_DIR=ggml-tsi-kernel
7575
TSI_GGML_RELEASE_DIR=/proj/rel/sw/ggml

0 commit comments

Comments
 (0)