Open MaxFrax opened 1 month ago
Hi there 👋 Can you try in an environment like Google Colab? This might be an issue with your system/environment. Also, if you only want to use that model, you can use my pre-converted one here: https://huggingface.co/Xenova/bert-base-uncased
@xenova Thank you for sharing your pre-converted model. I was attempting the conversion myself to verify my environment.
I tested the conversion script on Azure using a Standard_NC4as_T4_v3 instance (4 cores, 28 GB RAM, 176 GB disk, T4 GPU), and it worked perfectly.
I should probably set up a fresh environment on my MacBook M1 to provide easy-to-reproduce steps, but given its age, it might not be worth the effort.
System Info
Environment/Platform
Description
When I try to run the conversion script with the command
python -m scripts.convert --quantize --model_id bert-base-uncased
I get a segmentation fault.Do any of you have any pointer to pinpoint the root cause?
Reproduction
python -m scripts.convert --quantize --model_id bert-base-uncased