mirror of
https://github.com/unslothai/unsloth.git
synced 2026-07-09 15:58:41 +00:00
Update llama.py
This commit is contained in:
parent
b5a9c9c69d
commit
0e0e03c239
1 changed files with 1 additions and 1 deletions
|
|
@ -15,8 +15,8 @@
|
|||
import torch
|
||||
from typing import Optional, Tuple, List, Union
|
||||
from torch.nn.functional import scaled_dot_product_attention
|
||||
from transformers.modeling_attn_mask_utils import _prepare_4d_causal_attention_mask
|
||||
from transformers.models.llama.modeling_llama import (
|
||||
_prepare_4d_causal_attention_mask,
|
||||
logger,
|
||||
BaseModelOutputWithPast,
|
||||
CausalLMOutputWithPast,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue