For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo struct
Struct_min_p_sampling
struct Struct_min_p_sampling
Registers the min_p_sampling graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[dtype: DType, _trace_name: StaticString](out_token_ids: T, min_ps: T, input: T, temperature: Scalar[dtype], ctx: DeviceContext)