[Auto Parallel] fix bugs for split_batches_for_accumulation && fix bu… #9217
2.77% of diff hit (target 80.00%)
View this Pull Request on Codecov
2.77% of diff hit (target 80.00%)
Annotations
Check warning on line 121 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L121
Added line #L121 was not covered by tests
Check warning on line 125 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L125
Added line #L125 was not covered by tests
Check warning on line 129 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L129
Added line #L129 was not covered by tests
Check warning on line 133 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L133
Added line #L133 was not covered by tests
Check warning on line 184 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L184
Added line #L184 was not covered by tests
Check warning on line 189 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L187-L189
Added lines #L187 - L189 were not covered by tests
Check warning on line 192 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L191-L192
Added lines #L191 - L192 were not covered by tests
Check warning on line 194 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L194
Added line #L194 was not covered by tests
Check warning on line 198 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L198
Added line #L198 was not covered by tests
Check warning on line 205 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L202-L205
Added lines #L202 - L205 were not covered by tests
Check warning on line 212 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L210-L212
Added lines #L210 - L212 were not covered by tests
Check warning on line 216 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L216
Added line #L216 was not covered by tests
Check warning on line 224 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L221-L224
Added lines #L221 - L224 were not covered by tests
Check warning on line 226 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L226
Added line #L226 was not covered by tests
Check warning on line 231 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L231
Added line #L231 was not covered by tests
Check warning on line 397 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L396-L397
Added lines #L396 - L397 were not covered by tests
Check warning on line 530 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L530
Added line #L530 was not covered by tests
Check warning on line 534 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L534
Added line #L534 was not covered by tests
Check warning on line 544 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L544
Added line #L544 was not covered by tests
Check warning on line 548 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L548
Added line #L548 was not covered by tests
Check warning on line 559 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L559
Added line #L559 was not covered by tests
Check warning on line 561 in paddlenlp/trainer/auto_trainer.py
codecov / codecov/patch
paddlenlp/trainer/auto_trainer.py#L561
Added line #L561 was not covered by tests
Check warning on line 2201 in paddlenlp/trainer/trainer.py
codecov / codecov/patch
paddlenlp/trainer/trainer.py#L2201
Added line #L2201 was not covered by tests