Skip to content
Merged
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
5 changes: 5 additions & 0 deletions extension/llm/export/config/llm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,15 @@ class MethodConfig:
Attributes:
method_name: Name of the method to export.
lora_config: Optional LoRA configuration.
export_seq_len: Sequence length of example inputs used during
torch.export tracing. Controls which graph path is captured, e.g.
prefill vs decode, or for YOCO, where all layers run for decode
but not prefill. When unset, uses the model's default input length.
"""

method_name: str
lora_config: Optional[LoraConfig] = None
export_seq_len: Optional[int] = None
Comment thread
lucylq marked this conversation as resolved.


@dataclass
Expand Down
Loading