mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-25 22:21:14 +02:00
update workflows, update gemma default adapter sysprompt
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user