Error occurred when executing KSampler: No module named 'mac_specific'
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
Error occurred when executing KSampler: No module named 'mac_specific'
File "/Volumes/T7Shield/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/nodes.py", line 1206, in sample return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/nodes.py", line 1167, in common_ksampler previewer = latent_preview.get_previewer(device, model.model.latent_format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/latent_preview.py", line 65, in get_previewer taesd = TAESD(None, taesd_decoder_path).to(device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/comfy/taesd/taesd.py", line 55, in __init__ self.decoder.load_state_dict(torch.load(decoder_path, map_location="cpu", weights_only=True)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/custom_nodes/ComfyUI_tagger/modules/safe.py", line 106, in load return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/T7Shield/ComfyUI/custom_nodes/ComfyUI_tagger/modules/safe.py", line 131, in load_with_extra from . import shared File "/Volumes/T7Shield/ComfyUI/custom_nodes/ComfyUI_tagger/modules/shared.py", line 10, in from . import errors,shared_items,devices File "/Volumes/T7Shield/ComfyUI/custom_nodes/ComfyUI_tagger/modules/devices.py", line 8, in import mac_specific
Hi I'm trying to use control net on comfyUI but having trouble generating image with the error "No module named 'mac_specific'"
Contributor guide
Research direction
Start at custom_nodes/ComfyUI_tagger/modules/devices.py, where the traceback reaches the missing mac_specific import, and follow how it is loaded through latent_preview.py, nodes.py, and execution.py. Reproduce the reported control-net generation path in the stated environment; done means KSampler completes without the import error and image generation succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100