temp_commit

This commit is contained in:
Botao Chen 2024-12-12 17:15:05 -08:00
parent 53b3a1e345
commit 8efe33646d
2 changed files with 24 additions and 11 deletions

View file

@ -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