Skip to content

ComfyUI portable - no venv - gptq requires torch #17

@novice-101

Description

@novice-101

Getting the empty nodes (Comfy does not complain missing nodes so partway there)

Python 3.10.
torch 2.6.0+cu126
torchaudio 2.6.0+cu126
torchsde 0.2.6
torchvision 0.21.0+cu126
auto_gptq 0.7.1

I wonder if installing like this from the other issue thread would break anything in portable?

pip install --upgrade pip build wheel setuptools
pip install torch --no-build-isolation
pip install gptqmodel --no-build-isolation

From console (previous requirements were already satisfied):

Using cached gptqmodel-2.2.0.tar.gz (284 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

-snip-

        File "C:\Users\owner\AppData\Local\Temp\pip-build-env-x9cm67pm\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
          exec(code, locals())
        File "<string>", line 24, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

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