mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix repo consistency
This commit is contained in:
parent
15e17c99f9
commit
7804177af9
@ -862,7 +862,7 @@ class MT5Stack(MT5PreTrainedModel):
|
||||
# Set final layer norm to last device
|
||||
self.final_layer_norm = self.final_layer_norm.to(self.last_device)
|
||||
|
||||
@add_start_docstrings(PARALLELIZE_DOCSTRING)
|
||||
@add_start_docstrings(DEPARALLELIZE_DOCSTRING)
|
||||
def deparallelize(self):
|
||||
self.model_parallel = False
|
||||
self.device_map = None
|
||||
|
Loading…
Reference in New Issue
Block a user