-
Notifications
You must be signed in to change notification settings - Fork 77
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
InferenceModel class do not have from_pretrained() #7
Comments
This is strange, InferenceModel should have this method by Inheriting. Could you share your version of Python and SwissArmyTransformer(you can upgrade it to 0.2.3 and try again)? |
I used old version SwissArmyTransformer==0.1.2. |
I had error, again
I use python 3.7, which version of Python should I use? |
according to this issue #4 , maybe you should upgrade it to python 3.8. |
Can you share the Colab notebook? I can periodically try it and pray that I get an A100. |
@metaphorz Here is Replicate demo that is backed with A100 if you are interested :) https://replicate.com/thudm/cogview2 |
@chenxwh thank you I will try |
@metaphorz The GPU memory is 16GB at ColabPro+. If you want to make it all work, you might need an A100. |
@akira-sasaki thanks very much. |
I build cogview2 with colab.
And run your script, I have this error.
InferenceModel class do not have from_pretrained().
Are there any omissions in the committed sources?
The text was updated successfully, but these errors were encountered: