Skip to content

lora_scale #3

@zhpenli

Description

@zhpenli

Great work!
I noticed in your lora_switching_module.py line 39, you have lora_module.set_scale(active_adapter,self.active_adapter_scales[i][active_adapter]).
I think this should be lora_module.scaling[active_adapter] = self.active_adapter_scales[i][active_adapter].
Otherwise, the scaling continously changes if rank is not equal to alpha.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions