RuntimeError: Unsupported model binary version with ctranslate2

Hi all,
I have converted my openNMT-py model to ctranslate2 and deployed it on my local environment using flash and it works perfectly. When I try to deploy on online server like Heroku or Google Cloud I am getting the same error related to the binary version of model. Can someone have an idea of solution? Thanks

Hi,

Can you first make sure the model file is the same on your local environment and on the server? You can compare the MD5 checksum:

md5sum ctranslate2_model/model.bin

If the checksum is indeed the same, can you specify the CPU model that is used by your local environment and the CPU model used by the server?

1 Like

Yeah the checksum was not the same. The problem is solved now
Thank you for your quick reply !!!