Skip to content

Commit

Permalink
Update dependencies in cmake-rocm-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx authored Nov 3, 2024
1 parent b1ce5bd commit 8d3449d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/cmake-rocm-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of koboldcpp-rocm to build: v1.76.yr0-ROCm'
default: v1.76.yr0-ROCm
description: 'Version tag of koboldcpp-rocm to build: v1.79.yr0-ROCm'
default: v1.79.yr0-ROCm
required: false
type: string
workflow_call:
inputs:
version:
description: 'Version tag of koboldcpp-rocm to build: v1.76.yr-ROCm'
default: v1.76.yr0-ROCm
description: 'Version tag of koboldcpp-rocm to build: v1.79.yr-ROCm'
default: v1.79.yr0-ROCm
required: false
type: string

Expand All @@ -28,7 +28,7 @@ jobs:
shell: pwsh

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'YellowRoseCx/koboldcpp-rocm'
ref: main
Expand Down Expand Up @@ -61,12 +61,13 @@ jobs:
echo 'HIP_PATH=C:\Program Files\AMD\ROCm\6.1' >> $env:GITHUB_ENV
echo "ROCM_VERSION=6.1.2" >> $env:GITHUB_ENV
- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.10.11"

- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install cmake ninja
- name: Install LLVM and Clang
Expand All @@ -76,7 +77,7 @@ jobs:
force-url: "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/LLVM-18.1.4-win64.exe"

- name: Install PyInstaller
run: pip install pyinstaller==6.4.0 psutil
run: python -m pip install pyinstaller==6.11.0 psutil

- name: Build Lib
run: |
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:
curl -LO https://github.com/YellowRoseCx/koboldcpp-rocm/releases/download/deps-v6.2.0/rocblas-6.2.0.dll.7z
7z x rocblas-6.2.0.dll.7z -aoa
robocopy "C:\Program Files\AMD\ROCm\6.1\bin\rocblas" .\rocblas /MIR
pip install customtkinter
python -m pip install customtkinter
PyInstaller --noconfirm --onefile --collect-all customtkinter --clean --console --icon ".\niko.ico" --add-data "./winclinfo.exe;." --add-data "./OpenCL.dll;." --add-data "./klite.embd;." --add-data "./kcpp_docs.embd;." --add-data="./kcpp_sdui.embd;." --add-data="./taesd.embd;." --add-data="./taesd_xl.embd;." --add-data "./koboldcpp_default.dll;." --add-data "./koboldcpp_failsafe.dll;." --add-data "./koboldcpp_noavx2.dll;." --add-data "./koboldcpp_clblast.dll;." --add-data "./koboldcpp_clblast_noavx2.dll;." --add-data "./koboldcpp_vulkan_noavx2.dll;." --add-data "./clblast.dll;." --add-data "./koboldcpp_vulkan.dll;." --add-data "./vulkan-1.dll;." --add-data "./rwkv_vocab.embd;." --add-data "./rwkv_world_vocab.embd;." --add-data "D:\a\koboldcpp-rocm\koboldcpp-rocm\build\bin\koboldcpp_hipblas.dll;." --add-data "./rocblas.dll;." --add-data "./rocblas;." --add-data "C:/Windows/System32/msvcp140.dll;." --add-data "C:/Windows/System32/vcruntime140_1.dll;." "./koboldcpp.py" -n "koboldcpp_rocm.exe"
Expand Down

0 comments on commit 8d3449d

Please sign in to comment.