mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Fixing t5 loading.
This commit is contained in:
parent
123749a3c9
commit
e19d0e7867
@ -1033,7 +1033,7 @@ class T5ForConditionalGeneration(T5PreTrainedModel):
|
||||
)
|
||||
|
||||
self.lm_head = TensorParallelHead.load(
|
||||
config, prefix="lm_head", weights=weights
|
||||
config, prefix="shared", weights=weights
|
||||
)
|
||||
|
||||
def forward(
|
||||
|
Loading…
Reference in New Issue
Block a user