瀏覽代碼

remove unused import

lchu 1 年之前
父節點
當前提交
1cc9df19e6
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      llama_finetuning.py

+ 0 - 1
llama_finetuning.py

@@ -66,7 +66,6 @@ import torch
 import torch.nn as nn
 import torch.cuda.nccl as nccl
 import torch.distributed as dist
-from torch.distributed.fsdp._common_utils import _is_fsdp_flattened
 from transformers.models.llama.modeling_llama import LlamaDecoderLayer