huggingface / exporters

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

why illegal hardware instruction #49

Closed jacksonon closed 1 year 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 1 year 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 1 year 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/