Skip to content
Merged
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
5 changes: 1 addition & 4 deletions docs/source/features/sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ llm = LLM(model='nvidia/Llama-3.1-8B-Instruct-FP8',
sampler_type="TRTLLMSampler")
```

By default, the sampling backend is chosen to be `auto`. This will use:

* TRTLLM Sampler when using Beam Search.
* Torch Sampler otherwise.
By default, the sampling backend is chosen to be `auto`. This will use Torch Sampler for all requests.

Here is an example to run a model with basic usage of sampling parameters. This example prepares two identical prompts which will give different results due to the sampling parameters chosen:

Expand Down
Loading