Closed pengan1987 closed 10 months ago
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.
Hi @pengan1987, thanks for raising this issue!
Two comments:
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
transformers
version: 4.31.0Who can help?
@sgu
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I'm trying to run Phi-1.5 using Pytorch with DirectML
torch-directml==0.2.0.dev230426
, my script is here: https://github.com/pengan1987/DirectML-demos/blob/main/Phi_1_5.py Whentransformers<=4.30.2
, it works fine, whentransformers>=4.31.0
, I got an exception like this when loading the model It seemsmodeling_utils.py
has been changed a lot in PR#24505 and caused this exception, is there any fix/workarond to address this issue?Expected behavior
model loading correctly like
transformers<=4.30.2