mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/contracts/mlx
Module @mlx-bun/inference/contracts/mlx
References
AdaptiveDraftGateSettings
→
AdaptiveDraftGateSettings
AssistantAttention
→
AssistantAttention
AssistantDonors
→
AssistantDonors
AssistantDrafterModel
→
AssistantDrafterModel
AssistantDraftStep
→
AssistantDraftStep
AssistantRowsTarget
→
AssistantRowsTarget
AttentionCache
→
AttentionCache
AttentionRead
→
AttentionRead
AudioEncoder
→
AudioEncoder
BatchableCache
→
BatchableCache
BidirectionalAttentionCache
→
BidirectionalAttentionCache
BlockAttentionCache
→
BlockAttentionCache
Cache
→
Cache
CheckpointAttachment
→
CheckpointAttachment
CommittedAttentionCache
→
CommittedAttentionCache
CompiledDecodeCache
→
CompiledDecodeCache
ComposedStorage
→
ComposedStorage
ContextKV
→
ContextKV
DecodeSlot
→
DecodeSlot
DecodeStepInputs
→
DecodeStepInputs
DecodeStepPlan
→
DecodeStepPlan
DecodeTrace
→
DecodeTrace
DeepspecContextAttention
→
DeepspecContextAttention
DeepspecDrafterModel
→
DeepspecDrafterModel
DeepspecDraftRows
→
DeepspecDraftRows
DenoisingTraining
→
DenoisingTraining
Dflash2ContextAttention
→
Dflash2ContextAttention
Dflash2DraftBlock
→
Dflash2DraftBlock
Dflash2DrafterModel
→
Dflash2DrafterModel
DRAFT_CHECKPOINT_SCHEMA
→
DRAFT_CHECKPOINT_SCHEMA
DrafterContextKV
→
DrafterContextKV
DrafterContextProjection
→
DrafterContextProjection
DrafterOperationRange
→
DrafterOperationRange
DrafterOperations
→
DrafterOperations
DrafterRowsStep
→
DrafterRowsStep
DraftHeadOperations
→
DraftHeadOperations
DraftProjection
→
DraftProjection
DraftProjectionKernel
→
DraftProjectionKernel
DraftProjectionKernels
→
DraftProjectionKernels
DraftProjectionRange
→
DraftProjectionRange
DraftRowCheckpoint
→
DraftRowCheckpoint
DsparkContextAttention
→
DsparkContextAttention
DsparkDrafterModel
→
DsparkDrafterModel
DsparkDraftOptions
→
DsparkDraftOptions
EncoderAttentionCache
→
EncoderAttentionCache
FastFilterConfig
→
FastFilterConfig
FlashTrainingAttention
→
FlashTrainingAttention
GatedDeltaCache
→
GatedDeltaCache
GatedDeltaHeads
→
GatedDeltaHeads
GatedDeltaParameters
→
GatedDeltaParameters
Glm52MlaWeightSource
→
Glm52MlaWeightSource
Glm52WeightSource
→
Glm52WeightSource
GradCheckpointRun
→
GradCheckpointRun
GradCheckpointTraining
→
GradCheckpointTraining
HeadQuant
→
HeadQuant
HiddenLayerTapsTarget
→
HiddenLayerTapsTarget
KvAttentionView
→
KvAttentionView
KvCodec
→
KvCodec
KvDonorAttention
→
KvDonorAttention
KvDonorRows
→
KvDonorRows
KvMaintenance
→
KvMaintenance
LatentAttentionCache
→
LatentAttentionCache
LatentAttentionState
→
LatentAttentionState
LoraLeaves
→
LoraLeaves
Mask
→
Mask
MaskMode
→
MaskMode
MediaEncoders
→
MediaEncoders
MediaSidecarProbes
→
MediaSidecarProbes
MlxCacheLayer
→
MlxCacheLayer
MlxCapturingForward
→
MlxCapturingForward
MlxCompiledDecodeStep
→
MlxCompiledDecodeStep
MlxDeclaredGraph
→
MlxDeclaredGraph
MlxDecodeState
→
MlxDecodeState
MlxDenoisingAppendRange
→
MlxDenoisingAppendRange
MlxDenoisingDecodeRange
→
MlxDenoisingDecodeRange
MlxDenoisingOperations
→
MlxDenoisingOperations
MlxDenoisingPrefillRange
→
MlxDenoisingPrefillRange
MlxEmbeddingsForward
→
MlxEmbeddingsForward
MlxEmbeddingsRange
→
MlxEmbeddingsRange
MlxForwardStep
→
MlxForwardStep
MlxForwardWork
→
MlxForwardWork
MlxHeadForward
→
MlxHeadForward
MlxHeadRange
→
MlxHeadRange
MlxKnownOperations
→
MlxKnownOperations
MlxKnownRange
→
MlxKnownRange
MlxKnownSpans
→
MlxKnownSpans
MlxLayerCapture
→
MlxLayerCapture
MlxMixedForward
→
MlxMixedForward
MlxMixedGroupRange
→
MlxMixedGroupRange
MlxMixedRange
→
MlxMixedRange
MlxModelMemory
→
MlxModelMemory
MlxPhaseForward
→
MlxPhaseForward
MlxPhaseGroup
→
MlxPhaseGroup
MlxPositionedEmbeddingsForward
→
MlxPositionedEmbeddingsForward
MlxPositionedEmbeddingsRange
→
MlxPositionedEmbeddingsRange
MlxPositionedForward
→
MlxPositionedForward
MlxPositionedRange
→
MlxPositionedRange
MlxPreparationWork
→
MlxPreparationWork
MlxPromptInput
→
MlxPromptInput
MlxPromptRange
→
MlxPromptRange
MlxRowTable
→
MlxRowTable
MlxSeparateMixed
→
MlxSeparateMixed
MlxSequenceForward
→
MlxSequenceForward
MlxSequenceRange
→
MlxSequenceRange
MlxTokenPhases
→
MlxTokenPhases
MlxVerifyForward
→
MlxVerifyForward
MropeForwardState
→
MropeForwardState
MropeRequestState
→
MropeRequestState
NativeMtpHead
→
NativeMtpHead
PaddedPrefillCache
→
PaddedPrefillCache
PixelInput
→
PixelInput
PrefillPadding
→
PrefillPadding
PrefixLayout
→
PrefixLayout
PrefixSharedTraining
→
PrefixSharedTraining
RecurrentMtpForward
→
RecurrentMtpForward
RecurrentMtpModule
→
RecurrentMtpModule
RecurrentMtpTarget
→
RecurrentMtpTarget
ResidualBasis
→
ResidualBasis
RowBatchCache
→
RowBatchCache
SegmentedPass
→
SegmentedPass
SegmentedTraining
→
SegmentedTraining
SharedKv
→
SharedKv
SpeculativeRowLayout
→
SpeculativeRowLayout
targetLacks
→
targetLacks
TargetPort
→
TargetPort
TargetView
→
TargetView
TextEmbeddingModel
→
TextEmbeddingModel
TrainableGraph
→
TrainableGraph
TrainingAttentionCache
→
TrainingAttentionCache
Vision
→
Vision
VisionEncoder
→
VisionEncoder
WhisperDecoderCache
→
WhisperDecoderCache
WhisperDims
→
WhisperDims
WhisperFastCache
→
WhisperFastCache
WhisperFastPath
→
WhisperFastPath
WhisperGraph
→
WhisperGraph
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
References
Adaptive
Draft
Gate
Settings
Assistant
Attention
Assistant
Donors
Assistant
Drafter
Model
Assistant
Draft
Step
Assistant
Rows
Target
Attention
Cache
Attention
Read
Audio
Encoder
Batchable
Cache
Bidirectional
Attention
Cache
Block
Attention
Cache
Cache
Checkpoint
Attachment
Committed
Attention
Cache
Compiled
Decode
Cache
Composed
Storage
Context
KV
Decode
Slot
Decode
Step
Inputs
Decode
Step
Plan
Decode
Trace
Deepspec
Context
Attention
Deepspec
Drafter
Model
Deepspec
Draft
Rows
Denoising
Training
Dflash2
Context
Attention
Dflash2
Draft
Block
Dflash2
Drafter
Model
DRAFT_
CHECKPOINT_
SCHEMA
Drafter
Context
KV
Drafter
Context
Projection
Drafter
Operation
Range
Drafter
Operations
Drafter
Rows
Step
Draft
Head
Operations
Draft
Projection
Draft
Projection
Kernel
Draft
Projection
Kernels
Draft
Projection
Range
Draft
Row
Checkpoint
Dspark
Context
Attention
Dspark
Drafter
Model
Dspark
Draft
Options
Encoder
Attention
Cache
Fast
Filter
Config
Flash
Training
Attention
Gated
Delta
Cache
Gated
Delta
Heads
Gated
Delta
Parameters
Glm52
Mla
Weight
Source
Glm52
Weight
Source
Grad
Checkpoint
Run
Grad
Checkpoint
Training
Head
Quant
Hidden
Layer
Taps
Target
Kv
Attention
View
Kv
Codec
Kv
Donor
Attention
Kv
Donor
Rows
Kv
Maintenance
Latent
Attention
Cache
Latent
Attention
State
Lora
Leaves
Mask
Mask
Mode
Media
Encoders
Media
Sidecar
Probes
Mlx
Cache
Layer
Mlx
Capturing
Forward
Mlx
Compiled
Decode
Step
Mlx
Declared
Graph
Mlx
Decode
State
Mlx
Denoising
Append
Range
Mlx
Denoising
Decode
Range
Mlx
Denoising
Operations
Mlx
Denoising
Prefill
Range
Mlx
Embeddings
Forward
Mlx
Embeddings
Range
Mlx
Forward
Step
Mlx
Forward
Work
Mlx
Head
Forward
Mlx
Head
Range
Mlx
Known
Operations
Mlx
Known
Range
Mlx
Known
Spans
Mlx
Layer
Capture
Mlx
Mixed
Forward
Mlx
Mixed
Group
Range
Mlx
Mixed
Range
Mlx
Model
Memory
Mlx
Phase
Forward
Mlx
Phase
Group
Mlx
Positioned
Embeddings
Forward
Mlx
Positioned
Embeddings
Range
Mlx
Positioned
Forward
Mlx
Positioned
Range
Mlx
Preparation
Work
Mlx
Prompt
Input
Mlx
Prompt
Range
Mlx
Row
Table
Mlx
Separate
Mixed
Mlx
Sequence
Forward
Mlx
Sequence
Range
Mlx
Token
Phases
Mlx
Verify
Forward
Mrope
Forward
State
Mrope
Request
State
Native
Mtp
Head
Padded
Prefill
Cache
Pixel
Input
Prefill
Padding
Prefix
Layout
Prefix
Shared
Training
Recurrent
Mtp
Forward
Recurrent
Mtp
Module
Recurrent
Mtp
Target
Residual
Basis
Row
Batch
Cache
Segmented
Pass
Segmented
Training
Shared
Kv
Speculative
Row
Layout
target
Lacks
Target
Port
Target
View
Text
Embedding
Model
Trainable
Graph
Training
Attention
Cache
Vision
Vision
Encoder
Whisper
Decoder
Cache
Whisper
Dims
Whisper
Fast
Cache
Whisper
Fast
Path
Whisper
Graph
Documentation
mlx-bun library API
Loading...