-
Notifications
You must be signed in to change notification settings - Fork 8
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
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
Comments
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
<#11>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APK3JMZJ7STDJ462ZWMS6M3Z3VZEZAVCNFSM6AAAAABP75TGAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DSNZXGI3DKOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It works in a fresh installation of ComfyUI. Thank you! |
Im also getting this issue incase you have found a cure, i will try the new comfyui method but thats less than ideal atm. Thanks |
Have you tried updating transformers?
…On Tue, Nov 19, 2024, 12:09 AM SudaBad ***@***.***> wrote:
Im also getting this issue incase you have found a cure, i will try the
new comfyui method but thats less than ideal atm. Thanks
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APK3JM2ISJBIK4VCLCWIURL2BLW2BAVCNFSM6AAAAABP75TGAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBUHE4DEMJWG4>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
i followed the steps at the top of this thread and just put that file you linked into the models folder but not sure ive followed instructions properly.. will try all the steps again and get back to you thanks! |
That file should be inside the transformers library, not inside the models
folder. If you're on Windows and using the portable version of ComfyUI,
open the command prompt in the folder that has ComfyUI and python_embeded
in it, and run this:
```
.\python_embeded\python.exe -m pip install transformers --upgrade
```
…On Tue, Nov 19, 2024, 11:35 PM SudaBad ***@***.***> wrote:
i followed the steps at the top of this thread and just put that file you
linked into the models folder but not sure ive followed instructions
properly.. will try all the steps again and get back to you thanks!
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APK3JMYNJTOEEMKZQIGHMYT2BQ3TFAVCNFSM6AAAAABP75TGAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXG4ZTCOBUGI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm getting this error:
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
The text was updated successfully, but these errors were encountered: