mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 15:42:37 +00:00
temp_commit
This commit is contained in:
parent
53b3a1e345
commit
8efe33646d
2 changed files with 24 additions and 11 deletions
|
|
@ -87,6 +87,9 @@ class Llama:
|
|||
This method initializes the distributed process group, sets the device to CUDA,
|
||||
and loads the pre-trained model and tokenizer.
|
||||
"""
|
||||
model = await self.model_store.get_model(config.model)
|
||||
base_model = model.metadata["base_model"] or self.model_id
|
||||
self.model = resolve_model(base_model)
|
||||
model = resolve_model(config.model)
|
||||
llama_model = model.core_model_id.value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue