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
|
name: Koboldcpp Linux ARM64
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
commit_hash:
|
||||||
|
description: 'Optional commit hash to build from'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
|
@ -12,7 +19,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Install Dependencies
|
||||||
id: depends
|
id: depends
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
name: Koboldcpp Linux CUDA12
|
name: Koboldcpp Linux CUDA12
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
commit_hash:
|
||||||
|
description: 'Optional commit hash to build from'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
KCPP_CUDA: 12.1.0
|
KCPP_CUDA: 12.1.0
|
||||||
|
@ -16,7 +23,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Dependencies
|
||||||
id: depends
|
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
|
name: Koboldcpp Linux
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
commit_hash:
|
||||||
|
description: 'Optional commit hash to build from'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
NOAVX2: 1
|
NOAVX2: 1
|
||||||
|
@ -16,7 +23,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Dependencies
|
||||||
id: depends
|
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
|
name: Koboldcpp Mac
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
commit_hash:
|
||||||
|
description: 'Optional commit hash to build from'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
|
@ -12,7 +19,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Dependencies
|
||||||
id: depends
|
id: depends
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
name: Koboldcpp Windows Full Binaries
|
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:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
|
@ -12,7 +19,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Get Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
name: Koboldcpp Windows Full OldCPU Binaries
|
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:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
|
@ -12,7 +19,11 @@ jobs:
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Get Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
"search": ["System role not supported", "<start_of_turn>"],
|
"search": ["System role not supported", "<start_of_turn>"],
|
||||||
"name": "Google Gemma 2.",
|
"name": "Google Gemma 2.",
|
||||||
"adapter": {
|
"adapter": {
|
||||||
|
"system_start": "\n",
|
||||||
|
"system_end": "\n",
|
||||||
"user_start": "<start_of_turn>user\n",
|
"user_start": "<start_of_turn>user\n",
|
||||||
"user_end": "<end_of_turn>\n",
|
"user_end": "<end_of_turn>\n",
|
||||||
"assistant_start": "<start_of_turn>model\n",
|
"assistant_start": "<start_of_turn>model\n",
|
||||||
|
@ -47,6 +49,8 @@
|
||||||
"search": ["<start_of_image>", "<start_of_turn>", "<end_of_turn>"],
|
"search": ["<start_of_image>", "<start_of_turn>", "<end_of_turn>"],
|
||||||
"name": "Google Gemma 3.",
|
"name": "Google Gemma 3.",
|
||||||
"adapter": {
|
"adapter": {
|
||||||
|
"system_start": "\n",
|
||||||
|
"system_end": "\n",
|
||||||
"user_start": "<start_of_turn>user\n",
|
"user_start": "<start_of_turn>user\n",
|
||||||
"user_end": "<end_of_turn>\n",
|
"user_end": "<end_of_turn>\n",
|
||||||
"assistant_start": "<start_of_turn>model\n",
|
"assistant_start": "<start_of_turn>model\n",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"system_start": "<start_of_turn>user\n",
|
"system_start": "\n",
|
||||||
"system_end": "<end_of_turn>\n",
|
"system_end": "\n",
|
||||||
"user_start": "<start_of_turn>user\n",
|
"user_start": "<start_of_turn>user\n",
|
||||||
"user_end": "<end_of_turn>\n",
|
"user_end": "<end_of_turn>\n",
|
||||||
"assistant_start": "<start_of_turn>model\n",
|
"assistant_start": "<start_of_turn>model\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue