Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class LmiDistRbProperties(Properties):
max_lora_rank: Optional[int] = 16
lora_extra_vocab_size: Optional[int] = 256
max_cpu_loras: Optional[int] = None
max_logprobs: Optional[int] = 5

@model_validator(mode='after')
def validate_mpi(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class VllmRbProperties(Properties):
# Neuron vLLM properties
device: Optional[str] = None
preloaded_model: Optional[Any] = None
max_logprobs: Optional[int] = 5

@field_validator('engine')
def validate_engine(cls, engine):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,5 @@ def get_engine_args_from_config(config: VllmRbProperties) -> EngineArgs:
max_lora_rank=config.max_lora_rank,
lora_extra_vocab_size=config.lora_extra_vocab_size,
max_cpu_loras=config.max_cpu_loras,
revision=config.revision)
revision=config.revision,
max_logprobs=config.max_logprobs)