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

Mac M2. XlabsSampler Torch not compiled with CUDA enabled #96

Open
zhoudeheng opened this issue Sep 3, 2024 · 0 comments
Open

Mac M2. XlabsSampler Torch not compiled with CUDA enabled #96

zhoudeheng opened this issue Sep 3, 2024 · 0 comments

Comments

@zhoudeheng
Copy link

Mac M2
XlabsSampler
Torch not compiled with CUDA enabled

ComfyUI Error Report

Error Details

  • Node Type: XlabsSampler
  • Exception Type: AssertionError
  • Exception Message: Torch not compiled with CUDA enabled

Stack Trace

  File "/Users/dehengzhou/Desktop/ComfyUI_SDXL/execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/Users/dehengzhou/Desktop/ComfyUI_SDXL/execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/Users/dehengzhou/Desktop/ComfyUI_SDXL/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/Users/dehengzhou/Desktop/ComfyUI_SDXL/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/Users/dehengzhou/Desktop/ComfyUI_SDXL/custom_nodes/x-flux-comfyui/nodes.py", line 304, in sampling
    if torch.cuda.is_bf16_supported():

  File "/Users/dehengzhou/miniconda3/lib/python3.10/site-packages/torch/cuda/__init__.py", line 128, in is_bf16_supported
    device = torch.cuda.current_device()
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

1 participant