YangLing0818 / RPG-DiffusionMaster

[ICML 2024] Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs (RPG)
https://proceedings.mlr.press/v235/yang24ai.html
MIT License
1.7k stars 99 forks source link

Segmentation fault (core dumped) error. #45

Open trikim opened 6 months ago

trikim commented 6 months ago

I've installed the env by requirements.txt, the lib versions are the same, except the python version is 3.10. First, I encountered two problems: LlamaTokenizer requires the SentencePiece library but it was not found in your environment. The new behaviour of LlamaTokenizer (withself.legacy = False) requires the protobuf library but it was not found in your environment. and by installing SentencePiece==0.2.0 and protobuf-5.26.1 to solve them.

After that I could load the models correctly, but segmentation fault error happened when the first step denoising process. image

DthdZK commented 6 months ago

Hi bro, we totally meet the same error, but the python version I use is 3.9, have you ever known how to deal with the promble? @YangLing0818 @trikim