File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ type unloadLoraRequest struct {
3333}
3434
3535func (s * VllmSimulator ) getLoras () []string {
36-
3736 loras := make ([]string , 0 )
3837
3938 s .loraAdaptors .Range (func (key , _ any ) bool {
4039 if lora , ok := key .(string ); ok {
4140 loras = append (loras , lora )
41+ } else {
42+ s .logger .Info ("Stored LoRA is not a string" , "value" , key )
4243 }
4344 return true
4445 })
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ func (s *VllmSimulator) parseCommandParamsAndLoadConfig() error {
190190 s .config = config
191191
192192 for _ , lora := range config .LoraModules {
193- s .loraAdaptors .Store (lora , "" )
193+ s .loraAdaptors .Store (lora . Name , "" )
194194 }
195195
196196 initRandom (s .config .Seed )
You can’t perform that action at this time.
0 commit comments