Unverified Commit a3e8d3cb authored by ivanllt's avatar ivanllt Committed by GitHub
Browse files

Fix T5 docstring (#20957)

Fix start_docstring for deparallelize method
parent 588faad1
......@@ -891,7 +891,7 @@ class T5Stack(T5PreTrainedModel):
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment