Skip to content
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

I keep getting this same error: File "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 14, in <module> from comfy_extras.chainner_models.types import PyTorchModel #48

Closed
Superdrew907 opened this issue May 27, 2024 · 4 comments

Comments

@Superdrew907
Copy link

i keep getting this error, I dont know what I'm doing wrong. I'm a novice at best any help would be appericated.

File "E:\Pinokio\api\comfyui\app\nodes.py", line 1879, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes_init
.py", line 21, in
from . import nodes
File "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 14, in
from comfy_extras.chainner_models.types import PyTorchModel
ModuleNotFoundError: No module named 'comfy_extras.chainner_models.types'

Cannot import E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes module for custom nodes: No module named 'comfy_extras.chainner_models.types

Far as I can tell: comfy_extras.chainner_models.types doesn't exist. so it cant import PyTorchModel.

Thank you for your time.

@kft334
Copy link

kft334 commented May 27, 2024

ComfyUI made these breaking changes today:

  • Replace chainner_models with Spandrel package (#2146)
  • Replace chainner_models with Spandrel
  • Update to latest spandrel
  • Use spandrel_foss instead
  • update spandrel to new FOSS-compliant version

This repo needs to be updated to reflect these changes.

@Superdrew907
Copy link
Author

I dont know how to do any of that so i'll just wait for the repo to be updated. Thanks again!

@GalaxyTimeMachine
Copy link

Came here with this same problem.

Acly added a commit that referenced this issue May 27, 2024
… with the copied code #47 #48

Still using copy of MAT for this fix, it requires additional dependency spandrel_extra_arches
@Acly
Copy link
Owner

Acly commented May 27, 2024

Should work again now, please update.

@Acly Acly closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants