Skip to content

Commit

Permalink
Implement Building for GFX1031/GFX1032 on Windows
Browse files Browse the repository at this point in the history
Experimental support for GFX1031 and GFX1032 architectures on ROCm for Windows
  • Loading branch information
YellowRoseCx committed Feb 10, 2024
1 parent 744d570 commit 3051a15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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.56.yr1-ROCm'
default: v1.56.yr1-ROCm
description: 'Version tag of koboldcpp-rocm to build: v1.57.1.yr1-ROCm'
default: v1.57.1.yr1-ROCm
required: false
type: string
workflow_call:
inputs:
version:
description: 'Version tag of koboldcpp-rocm to build: v1.56.yr1-ROCm'
default: v1.56.yr1-ROCm
description: 'Version tag of koboldcpp-rocm to build: v1.57.1.yr1-ROCm'
default: v1.57.1.yr1-ROCm
required: false
type: string

Expand Down Expand Up @@ -89,8 +89,8 @@ jobs:
copy "C:\Program Files\AMD\ROCm\5.7\bin\hipblas.dll" .\
copy "C:\Program Files\AMD\ROCm\5.7\bin\rocblas.dll" .\
robocopy "C:\Program Files\AMD\ROCm\5.7\bin\rocblas" .\rocblas /MIR
curl -LO https://github.com/YellowRoseCx/koboldcpp-rocm/releases/download/v1.43.2-ROCm/gfx1031_tensileLib_01-30-2024.zip
7z x gfx1031_tensileLib_01-30-2024.zip
curl -LO https://github.com/YellowRoseCx/koboldcpp-rocm/releases/download/v1.43.2-ROCm/gfx1031-1032_tensileLib_02-10-2024
7z x gfx1031-1032_tensileLib_02-10-2024
pip install customtkinter
PyInstaller --noconfirm --onefile --collect-all customtkinter --clean --console --icon ".\niko.ico" --add-data "./klite.embd;." --add-data "./winclinfo.exe;." --add-data "./OpenCL.dll;." --add-data "./kcpp_docs.embd;." --add-data "./koboldcpp_default.dll;." --add-data "./koboldcpp_openblas.dll;." --add-data "./koboldcpp_failsafe.dll;." --add-data "./koboldcpp_noavx2.dll;." --add-data "./libopenblas.dll;." --add-data "./koboldcpp_clblast.dll;." --add-data "./koboldcpp_clblast_noavx2.dll;." --add-data "./clblast.dll;." --add-data "D:\a\koboldcpp-rocm\koboldcpp-rocm\build\bin\koboldcpp_hipblas.dll;." --add-data "./hipblas.dll;." --add-data "./rocblas.dll;." --add-data "./rwkv_vocab.embd;." --add-data "./rwkv_world_vocab.embd;." --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 3051a15

Please sign in to comment.