[GH-ISSUE #2852] ModuleNotFoundError: No module named 'comfy_aimdo.vram_buffer' #1041

Closed
opened 2026-10-27 21:25:15 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @rakkarage on GitHub (May 4, 2026).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2852

error on ubuntu latest amd

setup plugin alembic.autogenerate.schemas
setup plugin alembic.autogenerate.tables
setup plugin alembic.autogenerate.types
setup plugin alembic.autogenerate.constraints
setup plugin alembic.autogenerate.defaults
setup plugin alembic.autogenerate.comments
comfy-aimdo failed to load: libcuda.so.1: cannot open shared object file: No such file or directory
NOTE: comfy-aimdo is currently only support for Nvidia GPUs
[START] Security scan
[ComfyUI-Manager] Using uv as Python module for pip operations.
[DONE] Security scan
** ComfyUI startup time: 2026-05-04 16:02:34.134
** Platform: Linux
** Python version: 3.14.4 (main, Apr  8 2026, 04:02:31) [GCC 15.2.0]
** Python executable: /mnt/data/code/ComfyUI/.venv/bin/python3
** ComfyUI Path: /mnt/data/code/ComfyUI
** ComfyUI Base Folder Path: /mnt/data/code/ComfyUI
** User directory: /mnt/data/code/ComfyUI/user
** ComfyUI-Manager config path: /mnt/data/code/ComfyUI/user/__manager/config.ini
** Log path: /mnt/data/code/ComfyUI/user/comfyui.log
[PRE] ComfyUI-Manager
Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4']}
Found comfy_kitchen backend triton: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
Checkpoint files will always be loaded safely.
Traceback (most recent call last):
  File "/mnt/data/code/ComfyUI/main.py", line 198, in <module>
    import execution
  File "/mnt/data/code/ComfyUI/execution.py", line 17, in <module>
    import comfy.model_management
  File "/mnt/data/code/ComfyUI/comfy/model_management.py", line 34, in <module>
    import comfy_aimdo.vram_buffer
ModuleNotFoundError: No module named 'comfy_aimdo.vram_buffer'

 *  The terminal process "/usr/bin/bash '-c', '/mnt/data/code/ComfyUI/run.sh'" terminated with exit code: 1. 

worked until recently; this fixes it in: model_management.py

try:
    import comfy_aimdo.vram_buffer
except (ModuleNotFoundError, ImportError):
    comfy_aimdo = None

EDIT: was fixed... just a few days after i posted this; updating requirements removed the need for the fix

/mnt/data/code/ComfyUI/.venv/bin/python3 -m pip install -r /mnt/data/code/ComfyUI/requirements.txt

Originally created by @rakkarage on GitHub (May 4, 2026). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2852 error on ubuntu latest amd ``` setup plugin alembic.autogenerate.schemas setup plugin alembic.autogenerate.tables setup plugin alembic.autogenerate.types setup plugin alembic.autogenerate.constraints setup plugin alembic.autogenerate.defaults setup plugin alembic.autogenerate.comments comfy-aimdo failed to load: libcuda.so.1: cannot open shared object file: No such file or directory NOTE: comfy-aimdo is currently only support for Nvidia GPUs [START] Security scan [ComfyUI-Manager] Using uv as Python module for pip operations. [DONE] Security scan ** ComfyUI startup time: 2026-05-04 16:02:34.134 ** Platform: Linux ** Python version: 3.14.4 (main, Apr 8 2026, 04:02:31) [GCC 15.2.0] ** Python executable: /mnt/data/code/ComfyUI/.venv/bin/python3 ** ComfyUI Path: /mnt/data/code/ComfyUI ** ComfyUI Base Folder Path: /mnt/data/code/ComfyUI ** User directory: /mnt/data/code/ComfyUI/user ** ComfyUI-Manager config path: /mnt/data/code/ComfyUI/user/__manager/config.ini ** Log path: /mnt/data/code/ComfyUI/user/comfyui.log [PRE] ComfyUI-Manager Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']} Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4']} Found comfy_kitchen backend triton: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']} Checkpoint files will always be loaded safely. Traceback (most recent call last): File "/mnt/data/code/ComfyUI/main.py", line 198, in <module> import execution File "/mnt/data/code/ComfyUI/execution.py", line 17, in <module> import comfy.model_management File "/mnt/data/code/ComfyUI/comfy/model_management.py", line 34, in <module> import comfy_aimdo.vram_buffer ModuleNotFoundError: No module named 'comfy_aimdo.vram_buffer' * The terminal process "/usr/bin/bash '-c', '/mnt/data/code/ComfyUI/run.sh'" terminated with exit code: 1. ``` worked until recently; this fixes it in: model_management.py ``` try: import comfy_aimdo.vram_buffer except (ModuleNotFoundError, ImportError): comfy_aimdo = None ``` EDIT: was fixed... just a few days after i posted this; updating requirements removed the need for the fix `/mnt/data/code/ComfyUI/.venv/bin/python3 -m pip install -r /mnt/data/code/ComfyUI/requirements.txt`
Author
Owner

@dmann73699 commented on GitHub (May 11, 2026):

in comfyUi/Comfy folder
find the import comfy_aimdo.vram_buffer
'#' it out and add the code above below it.

<!-- gh-comment-id:4422793872 --> @dmann73699 commented on GitHub (May 11, 2026): in comfyUi/Comfy folder find the import comfy_aimdo.vram_buffer '#' it out and add the code above below it.
Author
Owner

@JaneSmith commented on GitHub (May 26, 2026):

Same issue here.

<!-- gh-comment-id:4538402960 --> @JaneSmith commented on GitHub (May 26, 2026): Same issue here.
Author
Owner

@planb788 commented on GitHub (Jul 3, 2026):

A better approach is to upgrade comfy_aimdo using this command: python -m pip install comfy_aimdo -U
Note: This command must be used in the same directory as python.exe.

<!-- gh-comment-id:4874521000 --> @planb788 commented on GitHub (Jul 3, 2026): A better approach is to upgrade comfy_aimdo using this command: `python -m pip install comfy_aimdo -U` Note: This command must be used in the same directory as python.exe.
Author
Owner

@Lamardinho commented on GitHub (Jul 5, 2026):

Более эффективный подход — обновить comfy_aimdo с помощью этой команды: python -m pip install comfy_aimdo -U Примечание: Эту команду необходимо использовать в том же каталоге, что и python.exe.

Thank you very much! For my Windows PC, the command is:
.\.venv\Scripts\python.exe -m pip install comfy_aimdo -U

<!-- gh-comment-id:4886292265 --> @Lamardinho commented on GitHub (Jul 5, 2026): > Более эффективный подход — обновить comfy_aimdo с помощью этой команды: `python -m pip install comfy_aimdo -U` Примечание: Эту команду необходимо использовать в том же каталоге, что и python.exe. Thank you very much! For my Windows PC, the command is: `.\.venv\Scripts\python.exe -m pip install comfy_aimdo -U`
Author
Owner

@zohrehminaei commented on GitHub (Jul 6, 2026):

Hi,

I had the exact same error:

ModuleNotFoundError: No module named 'comfy_aimdo.vram_buffer'

I tried a clean reinstall, updating comfy_aimdo with:

python -m pip install comfy_aimdo -U

and also tested different ComfyUI versions, but the error remained.

After inspecting the installation, I noticed that the installed comfy_aimdo package did not contain the expected vram_buffer module.

As a test, I copied the entire comfy_aimdo folder from another computer where ComfyUI was working correctly into:

standalone-env\Lib\site-packages\comfy_aimdo

After replacing the folder, ComfyUI started successfully and worked normally.

This seems to indicate a packaging or version mismatch between the comfy_aimdo package being installed and the version expected by ComfyUI.

I hope this information helps identify the issue.

Thanks!

<!-- gh-comment-id:4892321415 --> @zohrehminaei commented on GitHub (Jul 6, 2026): Hi, I had the exact same error: ModuleNotFoundError: No module named 'comfy_aimdo.vram_buffer' I tried a clean reinstall, updating comfy_aimdo with: python -m pip install comfy_aimdo -U and also tested different ComfyUI versions, but the error remained. After inspecting the installation, I noticed that the installed comfy_aimdo package did not contain the expected vram_buffer module. As a test, I copied the entire comfy_aimdo folder from another computer where ComfyUI was working correctly into: standalone-env\Lib\site-packages\comfy_aimdo After replacing the folder, ComfyUI started successfully and worked normally. This seems to indicate a packaging or version mismatch between the comfy_aimdo package being installed and the version expected by ComfyUI. I hope this information helps identify the issue. Thanks!
Author
Owner

@x1ntt commented on GitHub (Jul 17, 2026):

It seems that it hasn't been run for a long time. In the Windows version, find the "Terminal" tab on the instance switching page and execute: "pip install comfy_aimdo -U". However, it is better to execute "pip install -r requirements.txt" to avoid other issues, and then restart

<!-- gh-comment-id:5000691751 --> @x1ntt commented on GitHub (Jul 17, 2026): It seems that it hasn't been run for a long time. In the Windows version, find the "Terminal" tab on the instance switching page and execute: "pip install comfy_aimdo -U". However, it is better to execute "pip install -r requirements.txt" to avoid other issues, and then restart
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#1041
No description provided.