Closed Marwen94 closed 7 months ago
Hi @marwen94, I'm struggling to reproduce this here. I'm not familiar with the Poetry dependency manager, but I tried reproducing those package versions in a Python 3.9 env with pip
and the model loaded fine - the issue seems to be very specific to the environment you're using.
Can you figure out a list of package versions that I can install with conda
or pip
that reproduces the issue? Once I can reproduce it here I can work on diagnosing and fixing it!
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
I'm trying to load a AutoModel pre-trained model. However, I receiving the following error :
I do have Pytorch installed :
transformers-cli env :
Thanks a lot!
Who can help?
@gante and @Rocketknight1
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
1 . Create an activate a virtual env using this poetry file :
2 . Run this python script :
Expected behavior
I expect to be able to instantiate an AutoModel from a pretrained model when having Pytorch installed.