Comments (5)
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.
OS: Windows 11 (64 bit)
.NET 7.0
Installed packages:
The folder: Debug\net7.0\runtimes\win-x64\native contains the libllama.dll
from llamasharp.
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.
@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:
- No LLamaSharp backend was installed. Please search LLamaSharp.Backend and install one of them.
- You are using a device with only CPU but installed cuda backend. Please install cpu backend instead.
- 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
from llamasharp.
@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:
- No LLamaSharp backend was installed. Please search LLamaSharp.Backend and install one of them.
- You are using a device with only CPU but installed cuda backend. Please install cpu backend instead.
- 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
попробуй установить куда12 и цпу бэкенд
from llamasharp.
Related Issues (20)
- GitHub: link to documentation page HOT 1
- LLamaLogLevel: ensure numbering matches llama.cpp HOT 1
- Gemma Is Not Supported HOT 7
- Negative Prompt support - not found HOT 5
- ZLUDA Support HOT 1
- Possibly useful for documentation: Article by us on Medium about building a Console App with .Net 8.0 HOT 2
- How to use embedding correctly HOT 4
- .NET WinForms: Setup project: Cannot find Dependencies for .NET 8/6 HOT 17
- how to use tokenizer? I found this method in LLamaSharp Documentation 0.5 but can't find in this package code.
- Can't find verbose to set it to false. HOT 9
- The document update is too old HOT 1
- Switching ChatSessions without writing to file. HOT 3
- How to accelerate running speed in CPU environment? HOT 19
- Unable to load all-MiniLM-L6-v2-f16.gguf OR all-MiniLM-L6-v2-f16.bin HOT 2
- Stateless executor doesn't work with LlamaSharp 0.10 & NET 8.0 HOT 6
- Exception "EmbeddingMode must be true" after upgrading to v0.10.0 HOT 4
- [Kernel Memory] Integrate TextGenerationOptions to LLamaSharp.kernel-memory
- Separating and Streamlining llama/llava binaries Suggestion HOT 19
- Streaming output does not support StreamingChatMessage Content HOT 3
- Cannot add a user message after another user message (Parameter message HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llamasharp.