Skip to content

AttributeError: 'ProfilerX' object has no attribute 'noop' #9

@EnragedAntelope

Description

@EnragedAntelope

Hi, receiving AttributeError: 'ProfilerX' object has no attribute 'noop' . I am on newest ProfilerX commit 0204976 .

Lower priority: I also received a future warning I suppose related to something ProfilerX is calling from Torch (I'm on 2.8x):
D:\comf\venv\Lib\site-packages\torch\cuda\memory.py:494: FutureWarning: torch.cuda.reset_max_memory_allocated now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats.

System details, error message, and pip list output follow.

Windows 11, Python 3.12.
Comfy system info:

System Info
OS
nt
Python Version
3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Embedded Python
false
Pytorch Version
2.8.0.dev20250518+cu128
Arguments
main.py --cuda-malloc --force-channels-last --front-end-version Comfy-Org/ComfyUI_frontend@latest
RAM Total
79.79 GB
RAM Free
64.13 GB

Error message:

got prompt
2025-05-29 12:26:48,264 - ComfyUI-ProfilerX - DEBUG - Average reset_peak_memory_stats time: 16694.00 nanoseconds
Average reset_peak_memory_stats time: 16694.00 nanoseconds
D:\comf\venv\Lib\site-packages\torch\cuda\memory.py:494: FutureWarning: torch.cuda.reset_max_memory_allocated now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats.
  warnings.warn(
!!! Exception during processing !!! 'ProfilerX' object has no attribute 'noop'
Traceback (most recent call last):
  File "D:\comf\execution.py", line 349, 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 "D:\comf\execution.py", line 224, 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 "D:\comf\custom_nodes\ComfyUI-Lora-Manager\py\metadata_collector\metadata_hook.py", line 63, in map_node_over_list_with_metadata
    results = original_map_node_over_list(obj, input_data_all, func, allow_interrupt, execution_block_cb, pre_execute_cb)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\comf\custom_nodes\ComfyUI-Lora-Manager\py\metadata_collector\metadata_hook.py", line 63, in map_node_over_list_with_metadata
    results = original_map_node_over_list(obj, input_data_all, func, allow_interrupt, execution_block_cb, pre_execute_cb)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\comf\execution.py", line 192, in _map_node_over_list
    process_inputs({})
  File "D:\comf\execution.py", line 185, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^
AttributeError: 'ProfilerX' object has no attribute 'noop'

Pip list output:

Package                      Version
---------------------------- ------------------------
accelerate                   1.7.0
aiohappyeyeballs             2.6.1
aiohttp                      3.12.4
aiohttp-sse                  2.2.0
aiosignal                    1.3.2
albucore                     0.0.24
albumentations               2.0.8
annotated-types              0.7.0
anthropic                    0.51.0
anyio                        4.9.0
attrs                        25.3.0
av                           14.4.0
bchlib                       2.1.3
beautifulsoup4               4.13.4
bitmath                      1.3.3.1
cachetools                   5.5.2
certifi                      2025.4.26
cffi                         1.17.1
chardet                      4.0.0
charset-normalizer           3.4.2
click                        8.1.8
clip-interrogator            0.6.0
cmake                        4.0.2
color-matcher                0.6.0
colorama                     0.4.6
coloredlogs                  15.0.1
colour-science               0.4.6
comfyui_frontend_package     1.20.5
comfyui_workflow_templates   0.1.18
contourpy                    1.3.2
cryptography                 45.0.2
cstr                         0.1.0
cycler                       0.12.1
ddt                          1.7.2
deepdiff                     8.5.0
Deprecated                   1.2.18
deprecation                  2.1.0
dghs-imgutils                0.16.0
diffusers                    0.33.1
dill                         0.4.0
distro                       1.9.0
docutils                     0.21.2
easydict                     1.13
einops                       0.8.1
emoji                        2.11.1
fairscale                    0.4.13
ffmpy                        0.3.0
filelock                     3.18.0
flatbuffers                  25.2.10
fonttools                    4.58.0
frozenlist                   1.6.0
fsspec                       2025.5.1
ftfy                         6.3.1
gdown                        5.2.0
gguf                         0.17.0
gitdb                        4.0.12
github                       1.2.7
GitPython                    3.1.44
google-ai-generativelanguage 0.6.15
google-api-core              2.25.0rc1
google-api-python-client     2.169.0
google-auth                  2.40.1
google-auth-httplib2         0.2.0
google-genai                 1.5.0
google-generativeai          0.8.5
googleapis-common-protos     1.70.0
groq                         0.25.0
grpcio                       1.71.0
grpcio-status                1.71.0
h11                          0.16.0
hbutils                      0.11.0
hfutils                      0.11.1
httpcore                     1.0.9
httplib2                     0.22.0
httpx                        0.28.1
huggingface-hub              0.32.2
humanfriendly                10.0
idna                         3.10
imageio                      2.37.0
img2texture                  1.0.6
importlib_metadata           8.7.0
Jinja2                       3.1.6
jiter                        0.10.0
joblib                       1.5.0
jsonschema                   4.24.0
jsonschema-specifications    2025.4.1
kiwisolver                   1.4.8
kornia                       0.8.1
kornia_rs                    0.1.9
lark                         1.2.2
lazy_loader                  0.4
llvmlite                     0.44.0
markdown-it-py               3.0.0
MarkupSafe                   3.0.2
matplotlib                   3.10.3
matrix-client                0.4.0
mdurl                        0.1.2
mpmath                       1.3.0
msgpack                      1.1.0
mss                          10.0.0
multidict                    6.4.4
natsort                      8.4.0
networkx                     3.4.2
numba                        0.61.2
numpy                        1.26.4
nvidia-ml-py                 12.575.51
olefile                      0.47
onnxruntime                  1.22.0
onnxruntime-gpu              1.22.0
open_clip_torch              2.32.0
openai                       1.82.1
opencv-contrib-python        4.11.0.86
opencv-python                4.11.0.86
opencv-python-headless       4.11.0.86
orderly-set                  5.4.1
packaging                    25.0
pandas                       2.2.3
peft                         0.15.2
piexif                       1.1.3
pilgram                      1.2.1
pillow                       11.2.1
pilmoji                      2.0.4
pip                          25.1.1
pixeloe                      0.1.4
platformdirs                 4.3.8
pooch                        1.8.2
propcache                    0.3.1
proto-plus                   1.26.1
protobuf                     6.31.1
psutil                       7.0.0
py-cpuinfo                   9.0.0
pyasn1                       0.6.1
pyasn1_modules               0.4.2
pyclipper                    1.3.0.post6
pycparser                    2.22
pycryptodome                 3.23.0
pydantic                     2.11.5
pydantic_core                2.33.2
pyexiv2                      2.15.4
PyGithub                     2.6.1
Pygments                     2.19.1
PyJWT                        2.10.1
PyMatting                    1.1.14
PyNaCl                       1.5.0
pynvml                       12.0.0
pyparsing                    3.0.9
pyreadline3                  3.5.4
pyrfc6266                    1.0.2
PySocks                      1.7.1
python-dateutil              2.9.0.post0
pytimeparse                  1.1.8
pytz                         2025.2
PyWavelets                   1.8.0
PyYAML                       6.0.2
random-user-agent            1.0.1
referencing                  0.36.2
regex                        2024.11.6
rembg                        2.0.66
requests                     2.32.3
rich                         14.0.0
rpds-py                      0.25.0
rsa                          4.9.1
safetensors                  0.5.3
sageattention                2.1.1+cu128torch2.8.0
scikit-image                 0.25.2
scikit-learn                 1.6.1
scipy                        1.15.3
segment-anything             1.0
sentencepiece                0.2.0
setuptools                   80.9.0
shapely                      2.1.1
shellingham                  1.5.4
simpleeval                   1.0.3
simsimd                      6.2.1
six                          1.17.0
smmap                        5.0.2
sniffio                      1.3.1
soundfile                    0.13.1
soupsieve                    2.7
spandrel                     0.4.1
stringzilla                  3.12.5
sympy                        1.14.0
threadpoolctl                3.6.0
tifffile                     2025.5.10
timm                         1.0.15
tokenizers                   0.21.1
toml                         0.10.2
torch                        2.8.0.dev20250518+cu128
torchaudio                   2.6.0.dev20250519+cu128
torchsde                     0.2.6
torchvision                  0.22.0.dev20250519+cu128
tqdm                         4.67.1
trampoline                   0.1.2
transformers                 4.52.3
transparent-background       1.3.4
triton-windows               3.3.0.post19
typer                        0.16.0
typing_extensions            4.13.2
typing-inspection            0.4.1
tzdata                       2025.2
tzlocal                      5.3.1
ultralytics                  8.3.146
ultralytics-thop             2.0.14
uritemplate                  4.1.1
urllib3                      1.26.20
URLObject                    2.4.3
uv                           0.7.8
watchdog                     6.0.0
wcwidth                      0.2.13
webcolors                    24.11.1
websockets                   14.2
wget                         3.2
wrapt                        1.17.2
yarl                         1.20.0
zipp                         3.22.0

Thank you for the repo and hopefully this is enough info to help fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions