meta-llama / llama-models

Utilities intended for use with Llama models.
Other
4.88k stars 838 forks source link

align with pydantic v2, @validator -> @field_validator and class Config -> model_config #225

Open mattf opened 21 hours ago

mattf commented 21 hours ago

given this project requires pydantic>=2, this change silences warnings about using pydantic v1 features

mattf commented 21 hours ago

the ci failure appears unrelated to this change - image