GithubHelp home page GithubHelp logo

Comments (5)

AsakusaRinne avatar AsakusaRinne commented on May 26, 2024

Could you please provide the following information? It will help a lot for me to find the problem!

  • Your operation system information and the cuda version you installed.
  • Your dotnet runtime version.
  • All the packages you installed.
  • The files in your output directory, for example, bin/Debug/netX.Y, to see if the library file has been copied correctly.

from llamasharp.

ChezzPlaya avatar ChezzPlaya commented on May 26, 2024

@AsakusaRinne

OS: Windows 11 (64 bit)
.NET 7.0
Installed packages:
image
The folder: Debug\net7.0\runtimes\win-x64\native contains the libllama.dll

from llamasharp.

ChezzPlaya avatar ChezzPlaya commented on May 26, 2024

sorry, my fault, the command nvcc --version gives me:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

which is clearly not the v12.x that gives me the nvidia-smi command. That's confusing.

Anyway, the v11 backend works fine.

from llamasharp.

blackcement avatar blackcement commented on May 26, 2024

@AsakusaRinne , I have the same problem, can't figure out what I'm missing? Created a new project, the code is the same as the @ChezzPlaya .

`RuntimeError: The native library cannot be found. It could be one of the following reasons:

  1. No LLamaSharp backend was installed. Please search LLamaSharp.Backend and install one of them.
  2. You are using a device with only CPU but installed cuda backend. Please install cpu backend instead.
  3. The backend is not compatible with your system cuda environment. Please check and fix it. If the environment is expected not to be changed, then consider build llama.cpp from source or submit an issue to LLamaSharp.
    `

OS: Windows 10 (64 bit) 19044.1288
.NET 7.0
CUDA\v11.7

image

image

image

image

image

from llamasharp.

DavidixGT avatar DavidixGT commented on May 26, 2024

@AsakusaRinne , I have the same problem, can't figure out what I'm missing? Created a new project, the code is the same as the @ChezzPlaya .

`RuntimeError: The native library cannot be found. It could be one of the following reasons:

  1. No LLamaSharp backend was installed. Please search LLamaSharp.Backend and install one of them.
  2. You are using a device with only CPU but installed cuda backend. Please install cpu backend instead.
  3. The backend is not compatible with your system cuda environment. Please check and fix it. If the environment is expected not to be changed, then consider build llama.cpp from source or submit an issue to LLamaSharp.
    `

OS: Windows 10 (64 bit) 19044.1288 .NET 7.0 CUDA\v11.7

image

image

image

image

image

попробуй установить куда12 и цпу бэкенд

from llamasharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.