star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

enhance(sdk): support new typing hint example for transformers 4.36.0+ #3116

Closed tianweidut closed 9 months ago

tianweidut commented 9 months ago

Description

Modules

Checklist

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (554441f) 82.83% compared to head (d3f0c19) 92.01%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3116 +/- ## ============================================ + Coverage 82.83% 92.01% +9.17% ============================================ Files 575 139 -436 Lines 32075 16227 -15848 Branches 1866 0 -1866 ============================================ - Hits 26570 14931 -11639 + Misses 4680 1296 -3384 + Partials 825 0 -825 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/3116/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/3116/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/3116/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/3116/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `92.01% <100.00%> (-0.06%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/3116/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `92.01% <100.00%> (+0.20%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.