Skip to content
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

[Bug] mbart-large-50-many-to-many-mmt 初始化失败! #342

Open
3 tasks done
1038lab opened this issue Jun 27, 2024 · 3 comments
Open
3 tasks done

[Bug] mbart-large-50-many-to-many-mmt 初始化失败! #342

1038lab opened this issue Jun 27, 2024 · 3 comments

Comments

@1038lab
Copy link

1038lab commented Jun 27, 2024

Issue Feedback

  • I confirm that I have searched for a solution to this issue in the FAQ and couldn't find a solution.
  • I confirm that I have searched for this issue in the Issues list (including closed ones) and couldn't find a solution.
  • I confirm that I have read the Wiki and couldn't find a solution.

Describe the Issue

mbart-large-50-many-to-many-mmt
初始化失败!: Couldn't build proto file into descriptor pool: duplicate file name sentencepiece_model.proto

Steps to Reproduce

No response

Screenshot or log

No response

OS

Windows

Browser

Chrome

Stable Diffusion WebUI version

1.9.3

Extension version

No response

Python version

No response

Gradio version

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Bug] mbart-large-50-many-to-many-mmt initialization failed!

@picv888
Copy link

picv888 commented Jul 22, 2024

因为protobuf版本冲突。
暂时的解决办法是安装protobuf 3.20.3

  1. 进入stable diffusion webui的虚拟环境,假设你装在E盘,在命令行输入:
    E:\stable-diffusion-webui\venv\Scripts\activate
  2. 安装protobuf 3.20.3
    pip install protobuf==3.20.3

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Both this plug-in and the ControlNet plug-in use protobuf, and their versions are conflicting.
This plug-in requires protobuf version less than 4,
The ControlNet plug-in requires the protobuf version to be greater than or equal to 4.25.3 and less than 5.

The temporary solution is to install protobuf 3.20.3

  1. Enter the virtual environment of stable diffusion webui, assuming you are installed on drive E:
    E:\stable-diffusion-webui\venv\Scripts
  2. Install protobuf 3.20.3
    pip install protobuf==3.20.3

A complete solution requires the author of this plug-in to upgrade the protobuf version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants