huggingface / exporters

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

Upgrade to coremltools 7.0b1 #51

Closed pcuenca closed 11 months ago

pcuenca commented 11 months 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).