mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Nuke hardware_requirements from SKUs
This commit is contained in:
parent
d8b3fdbd54
commit
19a14cd273
4 changed files with 17 additions and 7 deletions
|
@ -79,7 +79,7 @@ class Llama:
|
|||
if not torch.distributed.is_initialized():
|
||||
torch.distributed.init_process_group("nccl")
|
||||
|
||||
model_parallel_size = model.hardware_requirements.gpu_count
|
||||
model_parallel_size = config.model_parallel_size
|
||||
if not model_parallel_is_initialized():
|
||||
initialize_model_parallel(model_parallel_size)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue