SeanScripts / ComfyUI-PixtralLlamaMolmoVision

For loading and running Pixtral models
Apache License 2.0
58 stars 8 forks source link

Error: Failed to import transformers.models.pixtral.processing_pixtral because of the following error (look up to see its traceback): No module named 'transformers.models.pixtral.processing_pixtral' #11

Open Latentnaut opened 4 weeks ago

Latentnaut commented 4 weeks ago

Hi, I'm getting this error:

image

and I updated transformers like this: ComfyUI folder, cmd: python -m venv venv venv\Scripts\activate python -m pip install --upgrade pip pip install transformers --upgrade

SeanScripts commented 3 weeks ago

The file is here in the most recent version of transformers: https://github.com/huggingface/transformers/blob/main/src/transformers/models/pixtral/processing_pixtral.py

The way you upgraded it seems correct, assuming that venv is the same as the one used by ComfyUI. Not sure what the problem could be, unless it failed to install for some reason. If you install the custom node from the manager, it should run the pip install within the ComfyUI venv correctly.

On Tue, Oct 15, 2024, 1:10 PM Latentnaut @.***> wrote:

Hi, I'm getting this error:

image.png (view on web) https://github.com/user-attachments/assets/73a04325-a0cb-4311-b670-44eba84aee09

and I updated transformers like this: ComfyUI folder, cmd: python -m venv venv venv\Scripts\activate python -m pip install --upgrade pip pip install transformers --upgrade

— Reply to this email directly, view it on GitHub https://github.com/SeanScripts/ComfyUI-PixtralLlamaMolmoVision/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/APK3JMZJ7STDJ462ZWMS6M3Z3VZEZAVCNFSM6AAAAABP75TGAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DSNZXGI3DKOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Latentnaut commented 3 weeks ago

It works in a fresh installation of ComfyUI. Thank you!