Comfy-Org / Comfy-Org/comfy-aimdo

How to disable CUDA and to run on PyTorch?

Open
#26 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
67
Forks
39
Avg merge
1d 25m
Merged PRs (30d)
10

Description

comfy-kitchen allows to disable CUDA and it passes all tests.

How to disable CUDA in comfy-aimdo ?

We would like to run ComfyUI on PyTorch w/out CUDA, but comfy-aimdo fails:
```
comfy-aimdo failed to load: Cannot open "/usr/local/lib/python3.11/site-packages/comfy_aimdo/aimdo.so"
NOTE: comfy-aimdo is currently only support for Nvidia GPUs
```

We are on FreeBSD where CUDA is not currently available.
I am trying to create FreeBSD ports for all ConfyUI components, and I've already did this, but there's the above failure from comfy-aimdo that I am trying to fix.

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by tracing how comfy-aimdo loads aimdo.so and where CUDA-only support causes the failure on FreeBSD, then determine the expected non-CUDA PyTorch behavior and add coverage for it.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python, pytorch
Domain
build-system, machine-learning, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.