Skip to content

Misc. bug: WebUI can't change any setting to value 0 #16267

@smirkun

Description

@smirkun

Name and Version

version: 205 (a86a580)
built with cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 for x86_64-linux-gnu

Operating systems

Linux

Which llama.cpp modules do you know to be affected?

llama-server

Command line

llama-server -m model.gguf

Problem description & steps to reproduce

You can't change a setting to 0 in the settings menu. The UI seems to indicate that the setting is reverted to the default after you click Save.

  1. Open llama-server web UI.
  2. Click settings cog button to open the settings menu
  3. In Penalties set Repeat penalty to 0.
  4. Click 'save settings'
  5. Click settings cog button again to open the settings menu
  6. Click Penalties. the Repeat penalty says it is set to the default of 1!

First Bad Commit

Svelte web UI from @allozaur

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions