huggingface / exporters

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

why illegal hardware instruction #49

Closed jacksonon closed 11 months ago

jacksonon commented 1 year ago

➜ exporters git:(main) python3 -m exporters.coreml --model=distilbert-base-uncased exported/

[1] 51183 illegal hardware instruction python3 -m exporters.coreml --model=distilbert-base-uncased exported/

pcuenca commented 11 months ago

Hi @jacksonon sorry for not answering before. Could you please verify with the latest version of exporters and transformers? If the problem persists, please open a new issue with the details of your python environment. Thank you!

rk-helper commented 10 months ago

I have same problem:

XGBoost version 1.7.6 has not been tested with coremltools. You may run into unexpected errors. XGBoost 1.4.2 is the most recent version that has been tested.
zsh: illegal hardware instruction  python -m exporters.coreml --model=distilbert-base-uncased exported/