mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 02:49:41 +00:00
update workflows, update gemma default adapter sysprompt
This commit is contained in:
parent
956ed89595
commit
c94aec1930
8 changed files with 84 additions and 14 deletions
15
.github/workflows/kcpp-build-release-arm64.yaml
vendored
15
.github/workflows/kcpp-build-release-arm64.yaml
vendored
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Linux ARM64
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
|
@ -12,7 +19,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Install Dependencies
|
||||
id: depends
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Linux CUDA12
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
KCPP_CUDA: 12.1.0
|
||||
|
@ -16,7 +23,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Dependencies
|
||||
id: depends
|
||||
|
|
15
.github/workflows/kcpp-build-release-linux.yaml
vendored
15
.github/workflows/kcpp-build-release-linux.yaml
vendored
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Linux
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
NOAVX2: 1
|
||||
|
@ -16,7 +23,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Dependencies
|
||||
id: depends
|
||||
|
|
15
.github/workflows/kcpp-build-release-osx.yaml
vendored
15
.github/workflows/kcpp-build-release-osx.yaml
vendored
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Mac
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
|
@ -12,7 +19,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Dependencies
|
||||
id: depends
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Windows Full Binaries
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
|
@ -12,7 +19,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
name: Koboldcpp Windows Full OldCPU Binaries
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit_hash:
|
||||
description: 'Optional commit hash to build from'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
|
@ -12,7 +19,11 @@ jobs:
|
|||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
- name: Show Commit Used
|
||||
run: |
|
||||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
"search": ["System role not supported", "<start_of_turn>"],
|
||||
"name": "Google Gemma 2.",
|
||||
"adapter": {
|
||||
"system_start": "\n",
|
||||
"system_end": "\n",
|
||||
"user_start": "<start_of_turn>user\n",
|
||||
"user_end": "<end_of_turn>\n",
|
||||
"assistant_start": "<start_of_turn>model\n",
|
||||
|
@ -47,6 +49,8 @@
|
|||
"search": ["<start_of_image>", "<start_of_turn>", "<end_of_turn>"],
|
||||
"name": "Google Gemma 3.",
|
||||
"adapter": {
|
||||
"system_start": "\n",
|
||||
"system_end": "\n",
|
||||
"user_start": "<start_of_turn>user\n",
|
||||
"user_end": "<end_of_turn>\n",
|
||||
"assistant_start": "<start_of_turn>model\n",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"system_start": "<start_of_turn>user\n",
|
||||
"system_end": "<end_of_turn>\n",
|
||||
"system_start": "\n",
|
||||
"system_end": "\n",
|
||||
"user_start": "<start_of_turn>user\n",
|
||||
"user_end": "<end_of_turn>\n",
|
||||
"assistant_start": "<start_of_turn>model\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue