在使用ms-swift微调时,https、left 和 transformers 库的版本发生冲突
When using ms-swift fine-tuning, due to the different versions used by swift and the version used by the model itself, an error will occur: ImportError: cannot import name 'log' from 'torch.distributed.elastic.agent.server.api'. When installing the ms-swift library, the following error occurs: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behavior is the source of the following dependency conflicts. got 0.1.0 requires httpx==0.24.0, but you have httpx 0.27.2 which is incompatible. got 0.1.0 requires peft==0.4.0, but you have peft 0.12.0 which is incompatible. got 0.1.0 requires transformers==4.37.2, but you have transformers 4.45.2 which is incompatible.
内容来源: Ucas-HaoranWei/GOT-OCR2.0