Skip to content

Commit

Permalink
Fix pydantic configuration for the max_memory input
Browse files Browse the repository at this point in the history
  • Loading branch information
dandm1 committed Mar 10, 2024
1 parent 9b6ee83 commit f201308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/utils/config/models/input/v0_4_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class Config:

neftune_noise_alpha: Optional[float] = None

max_memory: Optional[Union[int, str]] = None
max_memory: Optional[Dict[Union[int, Literal['cpu','disk']],Union[int, str]]] = None
gpu_memory_limit: Optional[Union[int, str]] = None

chat_template: Optional[Union[Literal["chatml", "inst"], ChatTemplate]] = None
Expand Down

0 comments on commit f201308

Please sign in to comment.