forked from p04798526/LLaMA-Factory-Mirror
release v0.6.0 (real)
This commit is contained in:
parent
98a42cbdaa
commit
ba70aca8fb
|
@ -158,8 +158,6 @@ def _create_galore_optimizer(
|
|||
finetuning_args: "FinetuningArguments",
|
||||
max_steps: int,
|
||||
) -> "torch.optim.Optimizer":
|
||||
require_version("galore_torch", "To fix: pip install galore-torch")
|
||||
|
||||
if len(finetuning_args.galore_target) == 1 and finetuning_args.galore_target[0] == "all":
|
||||
galore_targets = find_all_linear_modules(model)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue