finegrain-ai / refiners

A microframework on top of PyTorch with first-class citizen APIs for foundation model adaptation
https://refine.rs
MIT License
584 stars 43 forks source link

Neptune callback pydantic fix #372

Closed Laurent2916 closed 3 months ago

Laurent2916 commented 3 months ago

Pydantic doesn't like os.PathLike[str] (it gives a PydanticSchemaGenerationError), I've directly replaced it by pathlib.Path, since this is what we use in practice. Follow up of #371