Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- feat(example): align server MTP support with llama.cpp by @abetlen in #2283
- feat: update llama.cpp to ggml-org/llama.cpp@9e3b928fd
- feat(example): add OpenAI-compatible embeddings endpoint by @abetlen in #2281

Expand Down
16 changes: 16 additions & 0 deletions examples/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,22 @@ Use MTP when the loaded model and llama.cpp build expose the required draft stat
}
```

By default `draft-mtp` creates the MTP context from the target model.
Set `draft_model_path` or `draft_model_from_pretrained` when the model uses a separate assistant GGUF.

```json
{
"model": {
"draft_model": "draft-mtp",
"draft_model_num_pred_tokens": 2,
"draft_model_from_pretrained": {
"repo_id": "example/gemma-assistant-GGUF",
"filename": "assistant.gguf"
}
}
}
```

MTP currently applies to text-only requests.

## Disk Sequence Cache
Expand Down
Loading
Loading