New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading local .pt file with from_pretrained failes cause of domino chain of errors. #51
Comments
It might be because you haven't installed fairseq under this repo. Try:
|
But I did install fairseq in the same directory. |
Can you share your execution command? |
Could it be because there's not enough memory? Try this: |
Tried with dtype="float16" and "float8", same result "Killed". |
Can you switch to a machine with larger memory, and then try using |
By using the "http://one-peace-shanghai.oss-accelerate.aliyuncs.com/one-peace.pt", and from_pretrained().
I failed to load the pretrained model.
As it's prints "Killed".
So I have traced deeper to the location of the bug.
Led me to try checkpoint_utils.load_model_ensemble_and_task(), which also failed.
Eventually, I have found that an AssertionError is been raised in line 43 setup_task()
"task is not None"
The text was updated successfully, but these errors were encountered: