diff --git a/.github/workflows/cmake-rocm-windows.yml b/.github/workflows/cmake-rocm-windows.yml index c7ea12d4e4f1d..52c16509695f2 100644 --- a/.github/workflows/cmake-rocm-windows.yml +++ b/.github/workflows/cmake-rocm-windows.yml @@ -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 @@ -28,7 +28,7 @@ jobs: shell: pwsh steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: 'YellowRoseCx/koboldcpp-rocm' ref: main @@ -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 @@ -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: | @@ -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"