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 {
33
33
}
34
34
35
35
func (s * VllmSimulator ) getLoras () []string {
36
-
37
36
loras := make ([]string , 0 )
38
37
39
38
s .loraAdaptors .Range (func (key , _ any ) bool {
40
39
if lora , ok := key .(string ); ok {
41
40
loras = append (loras , lora )
41
+ } else {
42
+ s .logger .Info ("Stored LoRA is not a string" , "value" , key )
42
43
}
43
44
return true
44
45
})
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ func (s *VllmSimulator) parseCommandParamsAndLoadConfig() error {
190
190
s .config = config
191
191
192
192
for _ , lora := range config .LoraModules {
193
- s .loraAdaptors .Store (lora , "" )
193
+ s .loraAdaptors .Store (lora . Name , "" )
194
194
}
195
195
196
196
initRandom (s .config .Seed )
You can’t perform that action at this time.
0 commit comments