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

fatal error: 'thrust/complex.h' file not found #487

Closed
1 task done
atanasopulo opened this issue Mar 22, 2023 · 3 comments
Closed
1 task done

fatal error: 'thrust/complex.h' file not found #487

atanasopulo opened this issue Mar 22, 2023 · 3 comments
Labels
bug Something isn't working stale

Comments

@atanasopulo
Copy link

atanasopulo commented Mar 22, 2023

Describe the bug

When I run "python setup_cuda.py install" from this guide https://github.com/oobabooga/text-generation-webui/wiki/LLaMA-model#4-bit-mode I get this error.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

I followed this guide to the letter: https://github.com/oobabooga/text-generation-webui/wiki/LLaMA-model#4-bit-mode

The issue comes with the last command from this part:

mkdir repositories
cd repositories
git clone https://github.com/qwopqwop200/GPTQ-for-LLaMa
cd GPTQ-for-LLaMa
git reset --hard 468c47c01b4fe370616747b6d69a2d3f48bab5e4
python setup_cuda.py install <------- THIS

Screenshot

No response

Logs

In file included from /home/christopher/miniconda3/envs/textgen/lib/python3.10/site-packages/torch/include/c10/util/Half.h:15:
/home/christopher/miniconda3/envs/textgen/lib/python3.10/site-packages/torch/include/c10/util/complex.h:8:10: fatal error: 'thrust/complex.h' file not found
#include <thrust/complex.h>
         ^~~~~~~~~~~~~~~~~~
29 warnings and 1 error generated when compiling for gfx1030.
error: command '/opt/rocm-5.4.3/bin/hipcc' failed with exit code 1

System Info

OS: Ubuntu 22.10 64 bit
CPU: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
GPU: AMD Radeon RX 6600
@atanasopulo atanasopulo added the bug Something isn't working label Mar 22, 2023
@sgsdxzy
Copy link
Contributor

sgsdxzy commented Mar 22, 2023

I think the 4bit kernel requires CUDA, so AMD is not supported.

@atanasopulo
Copy link
Author

I think the 4bit kernel requires CUDA, so AMD is not supported.

Someone said to have it working on AMD. I'm so confused. He's helping me out here: #166

@github-actions github-actions bot added the stale label Apr 22, 2023
@github-actions
Copy link

This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants