mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #44] [CLOSED] fix: use module attributes to detect vendor directly #84
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-aimdo#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-aimdo/pull/44
Author: @lalala-233
Created: 5/2/2026
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
8281492fix: use module attributes to detect vendor directly7682342fix: remove duplicate code📊 Changes
1 file changed (+4 additions, -7 deletions)
View changed files
📝
comfy_aimdo/control.py(+4 -7)📄 Description
Current vendor check relies on
version.py's__version__:github.com/Comfy-Org/comfy-aimdo@604f3551d6/comfy_aimdo/control.py (L12-L31)However, in my PC,
__version__is2.11.0with no suffix, so this function returnsNone.But..
I can use cuda actually.
So I refactor
detect_rendorto use module attributes directly.But I haven't tested if it break anything in other's PC. It works well on my PC. Could someone help me test it?
Contribution Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.