Skip to content

Conversation

@gary149
Copy link
Collaborator

@gary149 gary149 commented Dec 19, 2025

Add llama-cli command alongside llama-server for all installation methods.

Changes

  • Add llama-cli snippet for direct terminal inference
  • Update llama-server comment to mention web UI
  • Build from source now compiles both targets
image

- Add llama-cli command alongside llama-server for all installation methods
- Update llama-server comment to mention web UI
- Build from source now compiles both llama-server and llama-cli targets
Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thanks a lot for taking the time to do this!

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

cc @ngxson as well

Copy link
Member

@ngxson ngxson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!! 🚀

const snippet = ["# Load and run the model:", `${binary} -hf ${model.id}${getQuantTag(filepath)}`];
const serverCommand = (binary: string) => {
const snippet = [
"# Start a local OpenAI-compatible server with a web UI:",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nits (not related to the current PR), can we modify the copy button such that it doesn't copy the line starts with # (I mean comment lines)

Copy link
Collaborator Author

@gary149 gary149 Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes good catch @copilot open an issue about it 👀

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot please open an issue about this

@gary149 gary149 merged commit 59af4df into main Dec 19, 2025
5 checks passed
@gary149 gary149 deleted the add-llama-cli-snippet branch December 19, 2025 16:51
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.

6 participants