8000 fix(examples): Refactor Batching notebook to use new sampler chain AP… · coderonion/llama-cpp-python@d610477 · GitHub
[go: up one dir, main page]

Skip to content

Commit d610477

Browse files
authored
fix(examples): Refactor Batching notebook to use new sampler chain API (abetlen#1793)
- Replaced deprecated llama_sample_token with llama_sampler_sample - Updated llama_token_to_piece signature to include lstrip and special arguments - Changed llama_load_model_from_file to use positional argument for params (currently does not accept a keyword argument for it)
1 parent 1ea6154 commit d610477

File tree

1 file changed

+146
-411
lines changed

1 file changed

+146
-411
lines changed

0 commit comments

Comments
 (0)
0