mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/execution
MlxGroupedMethod
Interface MlxGroupedMethod
interface
MlxGroupedMethod
{
runningTokens
?:
number
;
advance
(
work
?:
MlxForwardWork
)
:
Promise
<
void
>
;
dispose
()
:
void
;
filterRows
(
keep
:
readonly
number
[]
,
discard
:
boolean
)
:
void
;
prepare
(
row
:
Row
)
:
MlxGroupPreparation
;
}
Index
Properties
running
Tokens?
Methods
advance
dispose
filter
Rows
prepare
Properties
Optional
Readonly
running
Tokens
runningTokens
?:
number
Maximum target tokens in the next iteration, including candidates.
Methods
advance
advance
(
work
?:
MlxForwardWork
)
:
Promise
<
void
>
Parameters
Optional
work
:
MlxForwardWork
Returns
Promise
<
void
>
dispose
dispose
()
:
void
Returns
void
filter
Rows
filterRows
(
keep
:
readonly
number
[]
,
discard
:
boolean
)
:
void
Parameters
keep
:
readonly
number
[]
discard
:
boolean
Returns
void
prepare
prepare
(
row
:
Row
)
:
MlxGroupPreparation
Parameters
row
:
Row
Returns
MlxGroupPreparation
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
running
Tokens
Methods
advance
dispose
filter
Rows
prepare
Documentation
mlx-bun library API
Loading...
Maximum target tokens in the next iteration, including candidates.