star-whale / starwhale

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

feat(controller): add CRUD for finetune and space #2950

Closed anda-ren closed 11 months ago

anda-ren commented 11 months ago

Description

add crud for SFT Space and SFT sft validation dataset env set to run

TODO

model copy with sft id decouple datastore write(evaluation) from job create add sft evaluation job add model release status add model generation relation

Modules

Checklist

codecov[bot] commented 11 months ago

Codecov Report

Merging #2950 (b66195f) into main (cff0896) will decrease coverage by 8.73%. Report is 2 commits behind head on main. The diff coverage is 75.77%.

@@             Coverage Diff              @@
##               main    #2950      +/-   ##
============================================
- Coverage     91.81%   83.09%   -8.73%     
- Complexity        0     3103    +3103     
============================================
  Files           126      553     +427     
  Lines         15121    30110   +14989     
  Branches         61     1753    +1692     
============================================
+ Hits          13884    25021   +11137     
- Misses         1235     4287    +3052     
- Partials          2      802     +800     
Flag Coverage Δ
console ?
controller 74.14% <60.89%> (?)
standalone 92.10% <100.00%> (-0.01%) :arrow_down:
unittests 92.10% <100.00%> (+0.28%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
client/starwhale/base/client/models/models.py 100.00% <100.00%> (ø)
...ai/starwhale/mlops/domain/ft/bo/FineTuneSpace.java 0.00% <0.00%> (ø)
...le/mlops/domain/ft/mapper/FineTuneSpaceMapper.java 90.00% <90.00%> (ø)
...va/ai/starwhale/mlops/domain/ft/vo/FineTuneVo.java 0.00% <0.00%> (ø)
.../ai/starwhale/mlops/domain/dataset/DatasetDao.java 55.55% <20.00%> (ø)
.../ai/starwhale/mlops/domain/ft/FineTuneService.java 87.77% <87.77%> (ø)
...tarwhale/mlops/domain/ft/FineTuneSpaceService.java 56.00% <56.00%> (ø)
.../mlops/domain/ft/mapper/ListStringTypeHandler.java 27.27% <27.27%> (ø)
...ava/ai/starwhale/mlops/api/FineTuneController.java 0.00% <0.00%> (ø)

... and 427 files with indirect coverage changes