mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 22:22:16 +00:00
fix changes post merge
This commit is contained in:
parent
e95b1e9739
commit
e4b39aacb8
5 changed files with 65 additions and 20 deletions
|
|
@ -8,7 +8,7 @@ from datetime import datetime
|
|||
from enum import Enum
|
||||
from typing import Any, Dict, List, Literal, Optional, Protocol
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
from typing_extensions import Annotated
|
||||
|
||||
from llama_stack.apis.common.content_types import URL
|
||||
|
|
@ -71,6 +71,7 @@ class TrainingConfig(BaseModel):
|
|||
|
||||
@json_schema_type
|
||||
class LoraFinetuningConfig(BaseModel):
|
||||
model_config = ConfigDict(extra="allow")
|
||||
type: Literal["LoRA"] = "LoRA"
|
||||
lora_attn_modules: List[str]
|
||||
apply_lora_to_mlp: bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue