[pipeline] support shardformer for GPT2ForQuestionAnswering & complete pipeline support for GPT2 (#4245)

* change for transformers loggers

* add forward for GPT2ForQuestionAnswering

* fix assert

* fix torchrec test
This commit is contained in:
Baizhou Zhang
2023-07-19 09:28:27 +08:00
committed by Hongxin Liu
parent d9be0472ef
commit 2a2eacfaf1
5 changed files with 147 additions and 11 deletions

View File

@@ -1 +1 @@
#from .torchrec import *
from .torchrec import *