Create model paths configuration.
(args: Namespace)
| 338 | |
| 339 | |
| 340 | def create_model_paths(args: Namespace) -> List[ModelPath]: |
| 341 | """Create model paths configuration.""" |
| 342 | if args.served_model_name is not None: |
| 343 | served_model_names = args.served_model_name |
| 344 | verification = True |
| 345 | else: |
| 346 | served_model_names = args.model |
| 347 | verification = False |
| 348 | |
| 349 | return [ModelPath(name=served_model_names, model_path=args.model, verification=verification)] |
| 350 | |
| 351 | |
| 352 | async def initialize_engine_client(args: Namespace, pid: int) -> EngineClient: |