server : add lora hotswap endpoint (WIP) (#8857)
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
This commit is contained in:
		
							parent
							
								
									641f5dd2a6
								
							
						
					
					
						commit
						1e6f6554aa
					
				
					 9 changed files with 251 additions and 92 deletions
				
			
		|  | @ -174,7 +174,7 @@ class Metadata: | |||
|             org_component, model_full_name_component = None, model_id | ||||
| 
 | ||||
|         # Check if we erroneously matched against './' or '../' etc... | ||||
|         if org_component is not None and org_component[0] == '.': | ||||
|         if org_component is not None and len(org_component) > 0 and org_component[0] == '.': | ||||
|             org_component = None | ||||
| 
 | ||||
|         name_parts: list[str] = model_full_name_component.split('-') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue