-
Notifications
You must be signed in to change notification settings - Fork 40
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
Pixart sigma model loading errors after update comfyui #79
Comments
Update ComfyUI itself, it should be fixed now. |
I just had the same issue as the OP. Updated Comfy and the problem is still there. There's just no way to use Pixart, no matter what I try. |
@Creepybits Did you do a fresh git pull? |
I updated through manager. From which folder should I do git pull? I'm not very familiar with that. |
Nevermind, figured it out. I have done a git pull and it says everything is already up to date. The full error message I'm getting is this:
|
From your error:
On the latest ComfyUI that line is completely different i.e. it shouldn't produce the error anymore. It was removed yesterday in this commit: comfyanonymous/ComfyUI@0a6b008 For some reason your local ComfyUI install isn't actually being updated. |
Weird. Thanks though, All try to figure out why it doesn't update correctly then. |
Yeah, not sure what could cause that. What do you get when you run Edit: also try |
I've just reinstalled comfy, and I get this from Git status ` PS C:\AI Stuff\ComfyUI\ComfyUI> git status
PS C:\AI Stuff\ComfyUI\ComfyUI> ` It seems to be working so far at least. |
Hello, the PixArt checkpoint loader node is failing in ComfyUI with the following text:
Any suggestions on what could be going wrong? (ComfyUI is already updated) |
@pallavnawani It looks like your ExtraModels repo isn't on the latest version. That line no longer has the current_device option there |
After updating ComfyUI for SD35L, it appears that the t5_attention_mask attribute cannot be accessed in SD3ClipModel. This is the error. I checked the SD3ClipModel code for the versions v0.2.3 and v0.2.4. I will use an older version of ComfyUI instead separately. |
@doogyhatts should be good on both versions now, do a git pull on the extra models repo. |
Ok I found out what the error was now, after checking the latest sd.py. |
There were no problem before, but i had update comfyui and ExtraModels node, then i got erroor like this.
Did I do something wrong? Or is there a problem with the extramodel code?
Error occurred when executing PixArtCheckpointLoader:
'EXM_PixArt_Model' object has no attribute 'diffusion_model'
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\nodes.py", line 29, in load_checkpoint
model = load_pixart(
^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\loader.py", line 78, in load_pixart
model = EXM_PixArt_Model( # same as comfy.model_base.BaseModel
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\loader.py", line 30, in init
super().init(*args, **kwargs)
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 97, in init
logging.info("model weight dtype {}, manual cast: {}".format(self.get_dtype(), self.manual_cast_dtype))
^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 127, in get_dtype
return self.diffusion_model.dtype
^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1729, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
The text was updated successfully, but these errors were encountered: