unable to use Cosmos2TextToImagePipeline from diffusers library
How am i supposed to use this model as the method Cosmos2TextToImagePipeline is unavailable
I got the same issue, and my diffusers version is 0.33.1 (the latest until 2025.06.16)
How am i supposed to use this model as the method Cosmos2TextToImagePipeline is unavailable
finally I solve the issue, just install diffusers from source
pip install git+https://github.com/huggingface/diffusers
Then I met this error:
can anybody help me?
File "/data/ubuntu/.conda/envs/cosmos-drive-dreams/lib/python3.12/site-packages/diffusers/utils/import_utils.py", line 955, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.cosmos.pipeline_cosmos2_text2image because of the following error (look up to see its traceback):
Could not import module 'T5EncoderModel'. Are this object's requirements defined correctly?