mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/sampling
Module @mlx-bun/inference/sampling
Interfaces
CurveParams
CurvePoint
DeviceStepSamplerConfig
HlgConfig
HlgParams
HlgShaperParams
LogitsProcessorOptions
NumberStepSamplerConfig
SamplerOptions
Spline
StepExtras
StepSamplerOptions
Type Aliases
DeviceStepSampler
LogitsProcessor
NumberStepSampler
Sampler
StepSample
Variables
CURVE_UMIN
independentGreedySampling
Functions
applyCurve
applyHlg
applyHlgEotf
applyHlgOetf
applyHlgPipeline
applyHlgShaper
applyMinP
applyTopK
applyTopP
applyXtc
buildSpline
curveAt
curveSecants
disposeStepExtras
evalSpline
hlgGammaForLw
isMonotone
isPlainGreedy
logitsHistoryLimit
makeLogitsProcessors
makeSampler
makeStepSampler
readStepExtras
stepExtrasArrays
stepKey
toLogprobs
References
CompiledGrammarResult
→
CompiledGrammarResult
compileGrammarRequest
→
compileGrammarRequest
GrammarController
→
GrammarController
grammarEnabled
→
grammarEnabled
GrammarRequest
→
GrammarRequest
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Interfaces
Curve
Params
Curve
Point
Device
Step
Sampler
Config
Hlg
Config
Hlg
Params
Hlg
Shaper
Params
Logits
Processor
Options
Number
Step
Sampler
Config
Sampler
Options
Spline
Step
Extras
Step
Sampler
Options
Type Aliases
Device
Step
Sampler
Logits
Processor
Number
Step
Sampler
Sampler
Step
Sample
Variables
CURVE_
UMIN
independent
Greedy
Sampling
Functions
apply
Curve
apply
Hlg
apply
Hlg
Eotf
apply
Hlg
Oetf
apply
Hlg
Pipeline
apply
Hlg
Shaper
apply
Min
P
apply
Top
K
apply
Top
P
apply
Xtc
build
Spline
curve
At
curve
Secants
dispose
Step
Extras
eval
Spline
hlg
Gamma
For
Lw
is
Monotone
is
Plain
Greedy
logits
History
Limit
make
Logits
Processors
make
Sampler
make
Step
Sampler
read
Step
Extras
step
Extras
Arrays
step
Key
to
Logprobs
References
Compiled
Grammar
Result
compile
Grammar
Request
Grammar
Controller
grammar
Enabled
Grammar
Request
Documentation
mlx-bun library API
Loading...