Skip to content

Commit

Permalink
update deepcopy method
Browse files Browse the repository at this point in the history
Signed-off-by: jerryzhuang <[email protected]>
  • Loading branch information
zhuangqh committed Nov 14, 2024
1 parent 8244ebc commit 0545480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/model/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (v *VLLMParam) DeepCopy() VLLMParam {
}
out := VLLMParam{}
out.BaseCommand = v.BaseCommand
out.ModelName = v.ModelName
out.DistributionParams = make(map[string]string, len(v.DistributionParams))
for k, v := range v.DistributionParams {
out.DistributionParams[k] = v
Expand Down

0 comments on commit 0545480

Please sign in to comment.