mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-27 12:43:02 +00:00
[shardformer] refactored the shardformer layer structure (#4053)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
from transformers import T5ForConditionalGeneration
|
||||
from transformers.models.t5.modeling_t5 import (
|
||||
T5Attention,
|
||||
|
Reference in New Issue
Block a user