release v0.6.0 (real)

Former-commit-id: 34e06bf408ccd21e674f896703f1c7b62e97e1ca
This commit is contained in:
hiyouga 2024-03-25 23:37:48 +08:00
parent bf8d2f8eda
commit 04423b916f

View File

@ -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: