mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 20:29:47 +00:00
temp commit
This commit is contained in:
parent
30f6eb282f
commit
81e1957446
10 changed files with 54 additions and 39 deletions
|
|
@ -46,8 +46,10 @@ class MetaReferenceInferenceConfig(BaseModel):
|
|||
return model
|
||||
|
||||
@property
|
||||
def model_parallel_size(self) -> int:
|
||||
def model_parallel_size(self) -> Optional[int]:
|
||||
resolved = resolve_model(self.model)
|
||||
if resolved is None:
|
||||
return None
|
||||
return resolved.pth_file_count
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue