Skip to content

Eval bug: Regression when running Devstral 2 123B with the latest llama.cpp version from Docker #18007

Closed

Description

@fergusq

Name and Version

$ podman run --gpus all ghcr.io/ggml-org/llama.cpp:server-cuda --version
ggml_cuda_init: GGML_CUDA_FORCE_MMQ: no
ggml_cuda_init: GGML_CUDA_FORCE_CUBLAS: no
ggml_cuda_init: found 4 CUDA devices:
Device 0: NVIDIA GeForce RTX 5090, compute capability 12.0, VMM: yes
Device 1: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes
Device 2: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes
Device 3: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes
load_backend: loaded CUDA backend from /app/libggml-cuda.so
load_backend: loaded CPU backend from /app/libggml-cpu-icelake.so
version: 7376 (380b4c9)
built with GNU 11.4.0 for Linux x86_64

Operating systems

Linux

GGML backends

CUDA

Hardware

Device 0: NVIDIA GeForce RTX 5090, compute capability 12.0, VMM: yes
Device 1: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes
Device 2: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes
Device 3: NVIDIA GeForce RTX 4060 Ti, compute capability 8.9, VMM: yes

Models

Bartowski's IQ4_XS of Devstral 2: https://huggingface.co/bartowski/mistralai_Devstral-2-123B-Instruct-2512-GGUF/tree/main/mistralai_Devstral-2-123B-Instruct-2512-IQ4_XS

Problem description & steps to reproduce

I'm using Devstral 2 for translation from English to Finnish (it is the best Mistral model for translation I can run despite being a "programming" model).

With the version ghcr.io/ggml-org/llama.cpp:server-cuda-b7361 from podman, it works as expected, providing a Finnish translation for the English text. It's not a flawless translation, but reasonably good given it is not what this model is intended for.

With the latest version server-cuda (b7376), it either gives a very bad translation or does not translate the text to Finnish at all. With the test prompt below, it most of time gave me a French translation and one time it gave me an obviously bad Finnish translation.

First Bad Commit

Between b7361 and b7376

Relevant log output

### Test prompt:

Käännä luonnollisen kuuloiseksi suomen kieleksi. Pilko pitkät lauseet tarvittaessa pienemmiksi.

And a chief pleasure, in those early days of its irresponsible youth, was to lie low, like Brer Fox, just before the little turbulent tributaries came to join it from the Alps, and to refuse to acknowledge them when in, but to run for miles side by side, the dividing line well marked, the very levels different, the Danube utterly declining to recognize the newcomer. Below Passau, however, it gave up this particular trick, for there the Inn comes in with a thundering power impossible to ignore, and so pushes and incommodes the parent river that there is hardly room for them in the long twisting gorge that follows, and the Danube is shoved this way and that against the cliffs, and forced to hurry itself with great waves and much dashing to and fro in order to get through in time. And during the fight our canoe slipped down from its shoulder to its breast, and had the time of its life among the struggling waves. But the Inn taught the old river a lesson, and after Passau it no longer pretended to ignore new arrivals.

### Output with b7361:

Tässä on luonnollinen suomenkielinen käännös, jossa pitkät lauseet on pilkottu selkeämmiksi:

---

Jo varhaisina, vastuuttomina nuoruuden päivinään yksi pääasiallisista iloista oli makoilla alhaalla kuin Velimuori Brer Fox, juuri ennen kuin Alpeilta saapuvat pienet, levottomat sivujoet yhtyivät siihen. Silloin se kieltäytyi tunnustamasta uusia tulokkaita, vaan juoksi kilometrien matkan vierellä heitä, raja selvästi erottuen, veden pinnatkin eri tasoilla. Tonava ei suostunut edes huomaamaan uusia virtoja.

Passaun alapuolella se kuitenkin luopui tästä temppustaan, sillä siellä Inn vyöryy sisään niin jylisevällä voimalla, ettei sitä voi sivuuttaa. Se työntää ja ahdistaa emäjokea niin, että kapeassa, mutkaisessa rotkossa ei ole juuri tilaa kummallekkaan. Tonava työnnetään vuoristoa vasten sinne tänne ja pakotetaan kiirehtimään isoine aaltoineen ja vilkkaalla edestakaisin pyörisyllä päästäkseen läpi ajoissa.

Täyssä taistelussa meidän kanoottimme liukui Tonavan olalta sen rintamalle ja nautti elämästään kamppailevien aaltojen keskellä. Mutta Inn opetti vanhalle joelle oppitunnin, ja Passaun jälkeen se ei enää teeskennellyt, ettei se huomaisi uusia tulokkaita.

---

Käännöksessä on säilytetty alkuperäisen tekstin kuvaannollisuus ja rytmi, mutta lauserakenteet on tehty sujuvammiksi suomen kielelle.

### Output with b7376:

Voici une traduction naturelle en finlandais, avec des phrases plus courtes pour plus de fluidité :

---

Un des plus grands plaisirs, à cette époque insouciante de sa jeunesse, était de se tapir, à la manière de Frère Renard, juste avant que les petits affluents turbulents ne viennent le rejoindre depuis les Alpes. Et puis, feindre de ne pas les remarquer une fois qu’ils s’étaient joints à lui, mais courir côte à côte sur des miles, la ligne de démarcation bien visible, les niveaux d’eau différents, le Danube refusant catégoriquement de reconnaître le nouvel arrivant.

En aval de Passau, cependant, il abandonna ce petit jeu, car c’est là que l’Inn arrive en rugissant, avec une puissance impossible à ignorer. Il bouscule et serre le fleuve père dans le long gorge sinueux qui suit, si bien que le Danube se voit poussé çà et là contre les falaises, forcé de se presser, avec de grandes vagues et beaucoup d’agitation, pour passer à temps.

Pendant la bataille, notre canoé glissa de son épaule à sa poitrine et eut la vie la plus palpitante parmi les vagues qui se débattaient.

Mais l’Inn donna une leçon au vieux fleuve, et après Passau, celui-ci cessait de faire semblant d’ignorer les nouveaux venus.

---

Activity

  1. pwilkin commented on Dec 15, 2025

    @pwilkin
    Member

    Can you please recheck with newest llama.cpp build?

  2. added
    need feedback
    on Dec 15, 2025
  3. fergusq commented on Dec 15, 2025

    @fergusq
    Author

    I tested it with the latest version and the issue seems to be resolved now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-unconfirmedneed feedback

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions