forked from amd/RyzenAI-SW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.bat
24 lines (20 loc) · 883 Bytes
/
setup.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SET PWD=%~dp0
SET THIRD_PARTY=%PWD%\third_party
SET TVM_LIBRARY_PATH=%THIRD_PARTY%\lib;%THIRD_PARTY%\bin
SET PATH=%PATH%;%TVM_LIBRARY_PATH%;%PWD%\ops\cpp\;%THIRD_PARTY%
SET PYTORCH_AIE_PATH=%PWD%
SET PYTHONPATH=%PYTHONPATH%;%TVM_LIBRARY_PATH%;%THIRD_PARTY%
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ops\python
SET PYTHONPATH=%PYTHONPATH%;%PWD%\onnx-ops\python
SET PYTHONPATH=%PYTHONPATH%;%PWD%\tools
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\smoothquant\smoothquant
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\smoothquant\smoothquant
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\llm-awq
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\llm-awq\awq\quantize
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\llm-awq\awq\utils
SET PYTHONPATH=%PYTHONPATH%;%PWD%\ext\llm-awq\awq\kernels
SET AWQ_CACHE=%PWD%\ext\awq_cache\
set XRT_PATH=%THIRD_PARTY%\xrt-ipu
set TARGET_DESIGN=
set DEVICE=phx
set XLNX_VART_FIRMWARE=%PWD%/xclbin/phx