Comfy-Org / Comfy-Org/comfy-kitchen
cannot import name '_C' from partially initialized module 'comfy_kitchen.backends.cuda
- Dominant language
- Python
- Stars
- 220
- Forks
- 91
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 12
Description
Found comfy_kitchen backend cuda: {'available': False, 'disabled': False, 'unavailable_reason': "cannot import name '_C' from partially initialized module 'comfy_kitchen.backends.cuda' (most likely due to a circular import) (E:\\AI\\ComfyUI_Mie_V7.0\\python_embeded\\Lib\\site-packages\\comfy_kitchen\\backends\\cuda\\__init__.py)", 'capabilities': []}
Contributor guide
Research direction
Start by reproducing the import failure in the reported embedded Python environment and inspect comfy_kitchen/backends/cuda/__init__.py, which appears in the error. Trace why importing _C leaves the module partially initialized. Done means the CUDA backend imports successfully and its capability report no longer marks it unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100