mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/training
@mlx-bun/training/lora
attachForTraining
Function attachForTraining
attachForTraining
(
model
:
RuntimeModel
,
lora
:
TrainableLora
,
adapterId
:
string
,
)
:
void
Attach the trainable leaves to the model so the forward pass picks them up via loraState.active.
Parameters
model
:
RuntimeModel
lora
:
TrainableLora
adapterId
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
Attach the trainable leaves to the model so the forward pass picks them up via loraState.active.