hpcaitech / EnergonAI

Large-scale model inference.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RundongCao opened this issue · comments

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

commented

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

commented

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.

commented

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

Check whether the model file is complete