mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 17:25:07 +02:00
Merge branch 'upstream' into concedo_experimental
# Conflicts: # .github/labeler.yml # .github/workflows/build-self-hosted.yml # .github/workflows/release.yml # .github/workflows/server-sanitize.yml # .github/workflows/server-self-hosted.yml # .github/workflows/server.yml # .github/workflows/ui-build.yml # .github/workflows/ui-ci.yml # .github/workflows/ui-publish.yml # .gitignore # CMakeLists.txt # CODEOWNERS # scripts/ui-download.cmake # scripts/xxd.cmake # tests/test-backend-ops.cpp # tests/test-reasoning-budget.cpp # tools/CMakeLists.txt # tools/server/CMakeLists.txt # tools/server/README.md
This commit is contained in:
+9
-2
@@ -2166,7 +2166,6 @@ void kcpp_init_audio_proj(clip_ctx * ctx_a)
|
||||
switch (proj) {
|
||||
case PROJECTOR_TYPE_QWEN2A:
|
||||
case PROJECTOR_TYPE_QWEN25O:
|
||||
case PROJECTOR_TYPE_QWEN3A:
|
||||
case PROJECTOR_TYPE_ULTRAVOX:
|
||||
case PROJECTOR_TYPE_VOXTRAL:
|
||||
case PROJECTOR_TYPE_GLMA:
|
||||
@@ -2174,6 +2173,9 @@ void kcpp_init_audio_proj(clip_ctx * ctx_a)
|
||||
case PROJECTOR_TYPE_MERALION:
|
||||
audio_preproc = std::make_unique<mtmd_audio_preprocessor_whisper>(ctx_a);
|
||||
break;
|
||||
case PROJECTOR_TYPE_QWEN3A:
|
||||
audio_preproc = std::make_unique<mtmd_audio_preprocessor_qwen3a>(ctx_a);
|
||||
break;
|
||||
case PROJECTOR_TYPE_LFM2A:
|
||||
audio_preproc = std::make_unique<mtmd_audio_preprocessor_conformer>(ctx_a);
|
||||
break;
|
||||
@@ -4682,11 +4684,16 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
|
||||
if(clp_ctx_a)
|
||||
{
|
||||
int ptype = clip_get_projector_type_ext(clp_ctx_a);
|
||||
if(ptype==PROJECTOR_TYPE_QWEN2A || ptype==PROJECTOR_TYPE_QWEN3A || ptype==PROJECTOR_TYPE_QWEN25O) //qwen omni
|
||||
if(ptype==PROJECTOR_TYPE_QWEN2A || ptype==PROJECTOR_TYPE_QWEN25O) //qwen omni
|
||||
{
|
||||
aud_start = "<|audio_bos|>";
|
||||
aud_end = "<|audio_eos|>\n";
|
||||
}
|
||||
else if(ptype==PROJECTOR_TYPE_QWEN3A)
|
||||
{
|
||||
aud_start = "<|audio_start|>";
|
||||
aud_end = "<|audio_end|>";
|
||||
}
|
||||
else if(ptype==PROJECTOR_TYPE_VOXTRAL) //voxtral
|
||||
{
|
||||
aud_start = "[INST][BEGIN_AUDIO]";
|
||||
|
||||
Reference in New Issue
Block a user