File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,17 @@ jobs:
35
35
36
36
- name : Install Dependencies
37
37
run : |
38
- pip3 install build wheel cmake scikit-build ninja
38
+ python -m pip install build wheel cmake scikit-build ninja
39
39
40
40
- name : Build Wheel
41
41
run : |
42
- $env:CC = 'C:\Program Files\AMD\ROCm\5.5\bin\clang.exe'
43
- $env:CXX = 'C:\Program Files\AMD\ROCm\5.5\bin\clang++.exe'
44
42
$env:VERBOSE = '1'
45
- $env:FORCE_CMAKE = '1'
46
- $env:CMAKE_ARGS = "-DLLAMA_HIPBLAS=ON -DCMAKE_HIP_ARCHITECTURES=gfx1030;gfx1100 -DCMAKE_PREFIX_PATH=`"${env:ROCM_PATH}`""
47
- python3 -m build -n --wheel -C--build-option=egg_info "-C--build-option=--tag-build=+rocm5.5.1"
43
+ pushd '.\vendor\llama.cpp'
44
+ cmake -B build -DLLAMA_HIPBLAS=ON "-DCMAKE_HIP_ARCHITECTURES=gfx1030;gfx1100" -DCMAKE_PREFIX_PATH="C:\Program Files\AMD\ROCm\5.5" -DBUILD_SHARED_LIBS=ON
45
+ cmake --build build --config Release --target llama
46
+ Copy-Item '.\build\bin\Release\llama.dll' '..\..\llama_cpp'
47
+ popd
48
+ python setup.py --skip-cmake bdist_wheel egg_info --tag-build=+rocm5.5.1
48
49
49
50
- uses : actions/upload-artifact@v3
50
51
with :
You can’t perform that action at this time.
0 commit comments