Update fast_lora.py
This commit is contained in:
parent
cabf21f0dd
commit
7d5c9eddee
1 changed files with 3 additions and 0 deletions
|
|
@ -415,6 +415,9 @@ pass
|
|||
IDENTITY_DROPOUT = torch.nn.Identity
|
||||
@torch._disable_dynamo
|
||||
def fast_lora_forward(self, x: torch.Tensor, *args, **kwargs) -> torch.Tensor:
|
||||
raise NotImplementedError(
|
||||
"Unsloth: Currently not supported yet - reshaping done incorrectly"
|
||||
)
|
||||
self._check_forward_args(x, *args, **kwargs)
|
||||
adapter_names = kwargs.pop("adapter_names", None)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue