Comfy-Org / Comfy-Org/comfy-aimdo

Windows / RTX 5070 Ti: comfy-aimdo 0.5.3 missing get_simple_vram_headroom after ComfyUI 0.35.0 update; rollback to 0.34.6 works

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

Description

## System

- Windows 10 build 26200.9168
- NVIDIA RTX 5070 Ti 16 GB
- Python 3.13.12
- PyTorch 2.12.1+cu130
- ComfyUI 0.35.0
- comfy-aimdo 0.5.3
- comfy-kitchen 0.2.33
- comfyui-frontend-package 1.51.10

## Problem

After updating to ComfyUI 0.35.0, ComfyUI failed during startup inside `comfy_aimdo.control.init()`.

The traceback ended with:

```text
File "...site-packages\comfy_aimdo\control.py", line 115, in init
lib.get_simple_vram_headroom.argtypes = []

AttributeError: function 'get_simple_vram_headroom' not found.
Did you mean: 'set_simple_vram_headroom'?
```

This occurred before custom nodes were involved.

## Interesting detail

The installed package already reported:

```text
comfy-aimdo==0.5.3
```

I force-reinstalled the **same version**:

```text
pip install --force-reinstall --no-cache-dir --no-deps comfy-aimdo==0.5.3
```

After reinstalling the same version, this test succeeded:

```text
comfy-aimdo version: 0.5.3
AIMDO initialization OK
```

This suggests the Python wrapper and native library may have become mismatched during the update/install process.

## Additional behavior

After repairing AIMDO, ComfyUI 0.35.0 could reach server startup when launched directly in safe mode, but Comfy Desktop still failed to complete startup normally.

I then performed a completely clean standalone installation of ComfyUI 0.35.0 and still had startup/loading problems.

I installed **ComfyUI 0.34.6** as another clean standalone installation on the same computer with the same GPU and Desktop application.

**0.34.6 works normally.**

Its working stack reports:

```text
ComfyUI version: 0.34.6
comfy-aimdo version: 0.4.15
comfy-kitchen version: 0.2.31
comfyui-frontend-package version: 1.49.6
```

The 0.34.6 installation repeatedly passes clean safe-mode startup tests and detects the RTX 5070 Ti correctly.

## Reproduction / comparison

```text
ComfyUI 0.35.0 -> startup problems
ComfyUI 0.34.6 -> works
```

Both were tested on the same Windows installation and RTX 5070 Ti.

## Workaround

Rolling back to ComfyUI 0.34.6 has restored normal operation.

I can provide full startup logs or test additional AIMDO builds if useful.

I am not certain whether the remaining 0.35.0 startup behavior is caused specifically by AIMDO, the 0.35.0 dependency bundle, or Desktop integration, but the initial missing native symbol appears to be a concrete packaging/version-consistency issue.

Contributor guide

Open the contributing guide

Research direction

Start with comfy_aimdo/control.py around line 115 and compare the Python wrapper used by comfy-aimdo 0.5.3 with the native library exports in the reported ComfyUI 0.35.0 stack. Reproduce the missing get_simple_vram_headroom symbol on Windows, then verify that a clean installation or reinstall consistently provides the expected symbol and preserves the successful 0.34.6 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
ai-infra-agents, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.