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

AMD install out of date? #29

Open
jthree2001 opened this issue May 13, 2023 · 6 comments
Open

AMD install out of date? #29

jthree2001 opened this issue May 13, 2023 · 6 comments

Comments

@jthree2001
Copy link

I was running through the amd install instructions and the folder repos/gptq is missing and setup_cuda.py is also missing.

Are the AMD install instructions out of date?

@0cc4m
Copy link
Owner

0cc4m commented May 13, 2023

Yes, they are. It was replaced with a Python wheel as well, but issues have been reported with it. I'll try to update them soon.

Science-student pushed a commit to Science-student/KoboldAI-Client that referenced this issue May 16, 2023
@keyxmakerx
Copy link

+1 :)

@celisum
Copy link

celisum commented May 18, 2023

+1

@0cc4m
Copy link
Owner

0cc4m commented May 18, 2023

I updated them, please check if you can follow them and if it works.

@keyxmakerx
Copy link

Got the following errors on the pip install

      Warning: The --amdgpu-target option has been deprecated and will be removed in the future.  Use --offload-arch instead.
      In file included from <built-in>:1:
      /opt/rocm-5.4.5/llvm/lib/clang/15.0.0/include/__clang_hip_runtime_wrapper.h:50:10: fatal error: 'cmath' file not found
      #include <cmath>
               ^~~~~~~
      1 error generated when compiling for gfx1030.
      RuntimeError: Error compiling objects for extension
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for gptq-koboldai
  Running setup.py clean for gptq-koboldai
Failed to build gptq-koboldai
ERROR: Could not build wheels for gptq-koboldai, which is required to install pyproject.toml-based projects

@0cc4m
Copy link
Owner

0cc4m commented May 19, 2023

That means you are missing some system headers. Check your distro for the right package. It could be libstdc++-12-dev for Ubuntu, for example.

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

4 participants