mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-10 05:20:33 +00:00
[fix] rm requir_grad for output;
This commit is contained in:
@@ -569,7 +569,6 @@ class ZeroBubbleVPipeScheduler(PipelineSchedule):
|
|||||||
)
|
)
|
||||||
|
|
||||||
detached_output_obj = output_obj.clone()
|
detached_output_obj = output_obj.clone()
|
||||||
detached_output_obj.requires_grad_()
|
|
||||||
|
|
||||||
# Step3: send fwd
|
# Step3: send fwd
|
||||||
# add output to send_fwd_buffer
|
# add output to send_fwd_buffer
|
||||||
|
Reference in New Issue
Block a user