hpcaitech / EnergonAI

Large-scale model inference.
Apache License 2.0
630 stars 90 forks source link

_pickle.UnpicklingError: invalid load key, '{'. #211

Open RundongCao opened 1 year ago

RundongCao commented 1 year ago

image

RundongCao commented 1 year ago

When I run opt_fastapi.py, I got this error, how to solve it

darren-qiu commented 1 year ago

I also encountered the same problem~

I am using the latest version of Energon AI, and a similar problem occurs when I use the --checkpoint option

image
darren-qiu commented 1 year ago

I also encountered the same problem~

I am using the latest version of Energon AI, and a similar problem occurs when I use the --checkpoint option

image

This issue has been resolved. It is caused by incomplete download of the model file. It is recommended that after the file is downloaded, verify the SHA256 code.

darren-qiu commented 1 year ago

When I run opt_fastapi.py, I got this error, how to solve it

Check whether the model file is complete