Skip to content

Conversation

@JohannesGaessler
Copy link
Collaborator

@JohannesGaessler JohannesGaessler commented May 12, 2023

In #1375 someone suggested using --gpu-layers instead of --gpu_layers. I had simply picked an underscore because I looked at what a random other argument was using. On master CLI arguments use "-" and "_" in an inconsistent way. This PR changes all CLI arguments to use "-". When a CLI arg contains "_" it is automatically converted to "-" to preserve backwards compatibility.

@sw sw merged commit 773ee24 into ggml-org:master May 12, 2023
@SlyEcho
Copy link
Contributor

SlyEcho commented May 12, 2023

Someone had to do it! 👍

wbruna added a commit to wbruna/llama.cpp that referenced this pull request May 20, 2025
Straight adaptation from stable-diffusion.cpp main.cpp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants