huggingface / exporters

Export Hugging Face models to Core ML and TensorFlow Lite
Apache License 2.0
622 stars 46 forks source link

Upgrade to coremltools 7.0b1 #51

Closed pcuenca closed 1 year ago

pcuenca commented 1 year ago

I've been testing coremltools 7.0b1 for weeks: it's stable, it has a lot of fixes and new features (for quantization, in particular).

I removed a custom torch op workaround for GPT2. Additional workarounds can be removed when a new release of coremltools comes out.

I also upgraded the minimum versions of transformers and Python (since Python 3.8 is the minimum required in transformers).