You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nanotron/parallel/pipeline_parallel/block.py
+23-1
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,6 @@ def forward(self, **kwargs):
93
93
pipeline_state=self.pipeline_state,
94
94
)
95
95
continue
96
-
97
96
ifv.requires_gradisTrue:
98
97
raiseValueError(
99
98
f"Pipeline engine is None and tensor requires grad. Tried sending a tensor to {self.rank}. Usually that means that your model is pipeline sharded and you haven't chosen a specific pipeline engine."
0 commit comments