LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
5.35k stars 364 forks source link

Simple bug #1055

Closed linkpharm closed 3 months ago

linkpharm commented 3 months ago

Describe the Issue A clear and detailed description of what the issue is, and how to duplicate it (if applicable).

Putting a " ' " by typo in layers field crashes the program. That's it, that's the issue.

Also, it'd be great if auto was either not set on -1 on opening the program, that or having it set to max layers by default if the model can fit. I've started with a few layers missing for not really any reason, it's just an extra click.

Additional Information: Please provide as much relevant information about your setup as possible, such as the Operating System, CPU, GPU, KoboldCpp Version, and relevant logs (helpful to include the launch params from the terminal output, flags and crash logs)

LostRuins commented 3 months ago

I would think that is a valid thing to do, since "'" is not a valid input for layers. It should popup as an error.