Files
custom_flashinfer/docs/api/sampling.rst
Zihao Ye a69350756d bugfix: Fix Documentation Build Proces (#655)
Documentation build failed since #654 probably because of directory
structure change, this PR fixes the issue.
This PR also improves the AOT compilation documentations.
2024-12-11 23:11:39 -08:00

23 lines
457 B
ReStructuredText

.. _apisampling:
flashinfer.sampling
===================
Kernels for LLM sampling.
.. currentmodule:: flashinfer.sampling
.. autosummary::
:toctree: ../generated
sampling_from_probs
top_p_sampling_from_probs
top_k_sampling_from_probs
min_p_sampling_from_probs
top_k_top_p_sampling_from_logits
top_k_top_p_sampling_from_probs
top_p_renorm_probs
top_k_renorm_probs
top_k_mask_logits
chain_speculative_sampling