Skip to content
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.

Raising assert param.grad is not None when finetuning LoRA. #1188

Description

@HashimotoPatrickMu

While fine-tuning LoRA using PyTorch Lightning, I consistently encounter an assert param.grad is not None error 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions