Import Error, not compatible with transformer package
File "/home/Qwen/infer.py", line 63, in
Need to use an older version of transformer, but 'pip install deepspeed-mii' installs the latest one.
Need to use an older version of transformer, but 'pip install deepspeed-mii' installs the latest one.
I encountered this issue too. May I ask which version of transformer you use?
Hi @tang-t21 - this is resolved in the latest source builds of DeepSpeed-MII here https://github.com/microsoft/DeepSpeed-MII/pull/492. But we have not done a new release of MII that contains these fixes. We will work on this and update you when this is done soon.
@tang-t21 - this is resolved in the latest release of DeepSpeed MII. If you hit any issues, please let us know and we can re-open this issue.