Skip to content

Error while running ./setup_venv.sh. #2162

@TorAllex

Description

@TorAllex

macOS, Python 3.11.9

Collecting auto_gptq (from -r /Users/alex/SHARK/requirements.txt (line 61))
  Using cached auto_gptq-0.7.1.tar.gz (126 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/7x/gyhfwbd52zxdjvvwcwtbv0400000gn/T/pip-install-tygf6mav/auto-gptq_d4890c886fa6422ebc271fe3ab487d01/setup.py", line 62, in <module>
          CUDA_VERSION = "".join(os.environ.get("CUDA_VERSION", default_cuda_version).split("."))
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: 'NoneType' object has no attribute 'split'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
MacOS detected. Installing torch-mlir from .whl, to avoid dependency problems with torch.
WARNING: Skipping timm as it is not installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions