refactor(llm): 将模型服务的检查点字段类型从 Long 改为 String
- 修改了 ModelServiceDO 和 ModelServiceSaveReqVO 中的 checkPoint 字段类型 - 这个改动是为了更好地处理检查点数据,可能是因为检查点不再仅限于数字类型
This commit is contained in:
parent
0340b24f78
commit
80c736e9b8
@ -20,7 +20,7 @@ public class ModelServiceSaveReqVO {
|
||||
private Long fineTuningTask;
|
||||
|
||||
@Schema(description = "检查点,使用字典(llm_model_checkpoint)")
|
||||
private Long checkPoint;
|
||||
private String checkPoint;
|
||||
|
||||
@Schema(description = "GPU,使用字典(llm_gpu_type)", example = "1")
|
||||
private Long gpuType;
|
||||
|
@ -40,7 +40,7 @@ public class ModelServiceDO extends BaseDO {
|
||||
*
|
||||
* 枚举 {@link TODO llm_model_checkpoint 对应的类}
|
||||
*/
|
||||
private Long checkPoint;
|
||||
private String checkPoint;
|
||||
/**
|
||||
* GPU
|
||||
* <p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user