Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LLM]add ktotrainer #9393

Merged
merged 2 commits into from
Nov 8, 2024

fix oom

280fae9
Select commit
Loading
Failed to load commit list.
Merged

[LLM]add ktotrainer #9393

fix oom
280fae9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 8, 2024 in 1s

10.69% of diff hit (target 80.00%)

View this Pull Request on Codecov

10.69% of diff hit (target 80.00%)

Annotations

Check warning on line 257 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L257

Added line #L257 was not covered by tests

Check warning on line 266 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L266

Added line #L266 was not covered by tests

Check warning on line 282 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L282

Added line #L282 was not covered by tests

Check warning on line 301 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L301

Added line #L301 was not covered by tests

Check warning on line 334 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L334

Added line #L334 was not covered by tests

Check warning on line 340 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L340

Added line #L340 was not covered by tests

Check warning on line 375 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L375

Added line #L375 was not covered by tests

Check warning on line 415 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L415

Added line #L415 was not covered by tests

Check warning on line 422 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L422

Added line #L422 was not covered by tests

Check warning on line 494 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L494

Added line #L494 was not covered by tests

Check warning on line 503 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L503

Added line #L503 was not covered by tests

Check warning on line 519 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L519

Added line #L519 was not covered by tests

Check warning on line 556 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L556

Added line #L556 was not covered by tests

Check warning on line 564 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L564

Added line #L564 was not covered by tests

Check warning on line 571 in paddlenlp/transformers/tensor_parallel_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/transformers/tensor_parallel_utils.py#L571

Added line #L571 was not covered by tests

Check warning on line 293 in paddlenlp/trl/dpo_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/dpo_criterion.py#L290-L293

Added lines #L290 - L293 were not covered by tests

Check warning on line 42 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L37-L42

Added lines #L37 - L42 were not covered by tests

Check warning on line 46 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L44-L46

Added lines #L44 - L46 were not covered by tests

Check warning on line 50 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L48-L50

Added lines #L48 - L50 were not covered by tests

Check warning on line 57 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L52-L57

Added lines #L52 - L57 were not covered by tests

Check warning on line 72 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L64-L72

Added lines #L64 - L72 were not covered by tests

Check warning on line 76 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 87 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L80-L87

Added lines #L80 - L87 were not covered by tests

Check warning on line 90 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 94 in paddlenlp/trl/kto_criterion.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trl/kto_criterion.py#L92-L94

Added lines #L92 - L94 were not covered by tests