ml-energy / zeus

Deep Learning Energy Measurement and Optimization
https://ml.energy/zeus
Apache License 2.0
180 stars 24 forks source link

Unpin `pydantic` #35

Closed jaywonchung closed 4 months ago

jaywonchung commented 4 months ago

Many of our servers use Pydantic to create data schemas, but the users of Zeus may be using either Pydantic v1 or v2. We don't want to get in the way.

We want to follow DeepSpeed's approach of writing everything in Pydantic v1 but introducing a compatibility layer to unpin Pydantic.