Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running ./setup_venv.sh. #2162

Open
TorAllex opened this issue Jun 28, 2024 · 0 comments
Open

Error while running ./setup_venv.sh. #2162

TorAllex opened this issue Jun 28, 2024 · 0 comments

Comments

@TorAllex
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant