Skip to content

Commit

Permalink
Merge branch 'kcpp-rocm-mixtral' of https://github.com/YellowRoseCx/k…
Browse files Browse the repository at this point in the history
…oboldcpp-rocm into kcpp-rocm-mixtral
  • Loading branch information
YellowRoseCx committed Dec 12, 2023
2 parents d354d03 + 4984d0b commit 3872fbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cmake-rocm-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
inputs:
version:
description: 'Version tag of koboldcpp-rocm to build: v1.51.0.yr1-ROCm'
default: v1.51.0.yr1-ROCm
default: v1.52.0.yr1.rc1-ROCm
required: false
type: string
workflow_call:
inputs:
version:
description: 'Version tag of koboldcpp-rocm to build: v1.51.0.yr1-ROCm'
default: v1.51.0.yr1-ROCm
default: v1.52.0.yr1.rc1-ROCm
required: false
type: string

Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v3
with:
repository: 'YellowRoseCx/koboldcpp-rocm'
ref: main
ref: kcpp-rocm-mixtral
submodules: 'recursive'

- name: Setup MSYS2
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
copy "C:\Program Files\AMD\ROCm\5.5\bin\rocblas.dll" .\
robocopy "C:\Program Files\AMD\ROCm\5.5\bin\rocblas" .\rocblas /MIR
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"
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_mixtral-FS.exe"
# curl -LO https://github.com/YellowRoseCx/koboldcpp-rocm/releases/download/v1.43.2-ROCm/gfx103132rocblasfiles.7z
# 7z x gfx103132rocblasfiles.7z
- uses: actions/upload-artifact@v3
Expand All @@ -100,16 +100,16 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: koboldcpp_rocm_only-${{ inputs.version }}
path: D:\a\koboldcpp-rocm\koboldcpp-rocm\dist\koboldcpp_rocm.exe
name: koboldcpp_rocm_mixtral-FS-${{ inputs.version }}
path: D:\a\koboldcpp-rocm\koboldcpp-rocm\dist\koboldcpp_rocm_mixtral-FS.exe

- name: Upload files to a GitHub release
id: upload-release
uses: svenstaro/upload-release-action@2.6.1
continue-on-error: true
with:
file: D:\a\koboldcpp-rocm\koboldcpp-rocm\dist\koboldcpp_rocm.exe
release_name: KoboldCPP-${{ inputs.version }}
file: D:\a\koboldcpp-rocm\koboldcpp-rocm\dist\koboldcpp_rocm_mixtral-FS.exe
release_name: Mixtral-Kcpp-${{ inputs.version }} FanService Ed.
tag: ${{ inputs.version }}
file_glob: false
make_latest: true
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# <center>koboldcpp-ROCM MIXTRAL FanService Edition for AMD</center>
# <p align=center>koboldcpp-ROCM MIXTRAL FanService Edition for AMD</p>
<p align=center><img src="https://github.com/YellowRoseCx/koboldcpp-rocm/assets/80486540/085baa29-b731-4897-851f-540bc9e591ae"></p>

Quick Linux install:
To install, either use the file "[easy_KCPP-ROCm_install.sh](https://github.com/YellowRoseCx/koboldcpp-rocm/blob/main/easy_KCPP-ROCm_install.sh)" or navigate to the folder you want to download to in Terminal then run
```
Expand Down

0 comments on commit 3872fbb

Please sign in to comment.