mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/execution
MlxGroupPreparation
Interface MlxGroupPreparation
A method prepares and advances rows; the shared executor owns queueing.
interface
MlxGroupPreparation
{
canAdmit
?:
boolean
;
rows
:
readonly
Row
[]
;
supportsMixedWork
?:
boolean
;
tokenWeight
?:
number
;
admit
?
(
row
:
Row
)
:
void
;
advance
(
work
?:
MlxPreparationWork
)
:
Promise
<
boolean
>
;
dispose
()
:
void
;
}
Implemented by
MlxPrefillRows
Index
Properties
can
Admit?
rows
supports
Mixed
Work?
token
Weight?
Methods
admit?
advance
dispose
Properties
Optional
Readonly
can
Admit
canAdmit
?:
boolean
Readonly
rows
rows
:
readonly
Row
[]
Optional
Readonly
supports
Mixed
Work
supportsMixedWork
?:
boolean
Optional
Readonly
token
Weight
tokenWeight
?:
number
Methods
Optional
admit
admit
?
(
row
:
Row
)
:
void
Parameters
row
:
Row
Returns
void
advance
advance
(
work
?:
MlxPreparationWork
)
:
Promise
<
boolean
>
Parameters
Optional
work
:
MlxPreparationWork
Returns
Promise
<
boolean
>
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
can
Admit
rows
supports
Mixed
Work
token
Weight
Methods
admit
advance
dispose
Documentation
mlx-bun library API
Loading...
A method prepares and advances rows; the shared executor owns queueing.