|
9 | 9 |
|
10 | 10 | set -e |
11 | 11 |
|
| 12 | +export MLIR_SDK_VERSION=/proj/rel/sw/sdk-r.0.2.2 |
| 13 | +export TOOLBOX_DIR=${MLIR_SDK_VERSION}/toolbox/build/install |
| 14 | +pip install --upgrade pip |
| 15 | +pip install torch==2.7.0 |
| 16 | +pip install -r ${MLIR_SDK_VERSION}/compiler/python/requirements-common.txt |
| 17 | +pip install ${MLIR_SDK_VERSION}/compiler/python/mlir_external_packages-1.5.0-py3-none-any.whl |
| 18 | +pip install onnxruntime-training |
12 | 19 | #Ensure prerequisites are met as follows |
13 | 20 | echo 'updating submodule' |
14 | 21 | git submodule update --recursive --init |
15 | 22 | cd ggml-tsi-kernel/ |
16 | 23 | #module load gcc/13.3.0 |
17 | | -export MLIR_SDK_VERSION=/proj/rel/sw/sdk-r.0.2.0 |
18 | | -echo 'creating python virtual env' |
19 | | -/proj/local/Python-3.10.12/bin/python3 -m venv blob-creation |
20 | | -source blob-creation/bin/activate |
21 | | -echo 'installing mlir and python dependencies' |
22 | | -pip install --upgrade pip |
23 | | -pip install -r ${MLIR_SDK_VERSION}/compiler/python/requirements-common.txt |
24 | | -pip install ${MLIR_SDK_VERSION}/compiler/python/mlir_external_packages-1.4.2-py3-none-any.whl |
25 | | -pip install onnxruntime-training |
| 24 | +#echo 'creating python virtual env' |
| 25 | +#/proj/local/Python-3.10.12/bin/python3 -m venv blob-creation |
| 26 | +#source blob-creation/bin/activate |
| 27 | +#echo 'installing mlir and python dependencies' |
| 28 | +#pip install --upgrade pip |
| 29 | +#pip install torch==2.7.0 |
| 30 | +#pip install -r ${MLIR_SDK_VERSION}/compiler/python/requirements-common.txt |
| 31 | +#pip install ${MLIR_SDK_VERSION}/compiler/python/mlir_external_packages-1.5.0-py3-none-any.whl |
| 32 | +#pip install onnxruntime-training |
26 | 33 |
|
27 | 34 | #build TSI kernels for the Tsavorite backend |
28 | 35 | #First for FPGA |
@@ -97,7 +104,7 @@ cmake --build build-fpga --config Release |
97 | 104 |
|
98 | 105 |
|
99 | 106 | echo 'creating tar bundle for fpga' |
100 | | -TSI_GGML_VERSION=0.2.2 |
| 107 | +TSI_GGML_VERSION=0.2.3 |
101 | 108 | TSI_GGML_BUNDLE_INSTALL_DIR=tsi-ggml |
102 | 109 | GGML_TSI_INSTALL_DIR=ggml-tsi-kernel |
103 | 110 | TSI_GGML_RELEASE_DIR=/proj/rel/sw/ggml |
|
0 commit comments