make lisa training example work on one 24gb gpu
This commit is contained in:
@@ -25,7 +25,7 @@ lora_dropout:
|
|||||||
lora_target_linear:
|
lora_target_linear:
|
||||||
lora_fan_in_fan_out:
|
lora_fan_in_fan_out:
|
||||||
|
|
||||||
lisa_n_layers: 4
|
lisa_n_layers: 2
|
||||||
lisa_step_interval: 20
|
lisa_step_interval: 20
|
||||||
lisa_layers_attribute: model.layers
|
lisa_layers_attribute: model.layers
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ wandb_watch:
|
|||||||
wandb_name:
|
wandb_name:
|
||||||
wandb_log_model:
|
wandb_log_model:
|
||||||
|
|
||||||
gradient_accumulation_steps: 2
|
gradient_accumulation_steps: 1
|
||||||
micro_batch_size: 1
|
micro_batch_size: 1
|
||||||
num_epochs: 1
|
num_epochs: 1
|
||||||
optimizer: adamw_bnb_8bit
|
optimizer: adamw_bnb_8bit
|
||||||
|
|||||||
Reference in New Issue
Block a user