Skip to content

CUDA error: the provided PTX was compiled with an unsupported toolchain. #1615

Description

@anamariaUIC

Hi,

I installed privateGPT following these steps:

git clone https://github.com/imartinez/privateGPT.git 

cd privateGPT

conda create -n privategpt python=3.11

conda activate privategpt

#loading modules

module load  Anaconda3

module load CUDA/12.2.2

#install poetry 

pip install poetry

# Install dependencies
poetry install --with ui,local

# Download Embedding and LLM models. all customization can be done in setup

#used this model: mistral-7b-instruct-v0.2.Q6_K.gguf

poetry run python scripts/setup

CMAKE_ARGS='-DLLAMA_CUBLAS=on' poetry run pip install --force-reinstall --no-cache-dir llama-cpp-python

PGPT_PROFILES=local make run

I run this on: NVIDIA A100-SXM4-80GB

so my gradio UI starts, I upload my document to query on it and when I ask my question I am getting this error message:

CUDA error: the provided PTX was compiled with an unsupported toolchain.
current device: 0, in function ggml_cuda_op_flatten at /tmp/pip-install-vxbb3kr9/llama-cpp-python_384550df678f489e99c439d8354165a3/vendor/llama.cpp/ggml-cuda.cu:9136

In attach you can see my version of CUDA diver and my toolkit. Can you please let me know what is the issue here and how to resolve it?

Thanks
Screen Shot 2024-02-16 at 8 13 52 PM

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