This repository was archived by the owner on Jun 1, 2026. It is now read-only.
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
assert param.grad is not None when finetuning LoRA. #1188
While fine-tuning LoRA using PyTorch Lightning, I consistently encounter an
assert param.grad is not Noneerror during backpropagation. Increasing the gradient accumulation steps delays the issue but doesn't resolve it. I suspect this might be a backend problem. Has anyone else experienced this issue?