llama_cpp.rb VS LLamaSharp

Compare llama_cpp.rb vs LLamaSharp and see what are their differences.

llama_cpp.rb

llama_cpp provides Ruby bindings for llama.cpp (by yoshoku)

LLamaSharp

A C#/.NET library to run LLM models (🦙LLaMA/LLaVA) on your local device efficiently. (by SciSharp)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
llama_cpp.rb LLamaSharp
2 3
143 1,965
- 11.8%
9.6 9.8
8 days ago 4 days ago
C++ C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

llama_cpp.rb

Posts with mentions or reviews of llama_cpp.rb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-12.
  • Llama.cpp: Full CUDA GPU Acceleration
    14 projects | news.ycombinator.com | 12 Jun 2023
    Python sits on the C-glue segment of programming languages (where Perl, PHP, Ruby and Node are also notable members). Being a glue language means having APIs to a lot of external toolchains written in not only C/C++ but many other compiled languages, APIs and system resources. Conda, virtualenv, etc. are godsend modules for making it all work, or even better, to freeze things once they all work, without resourcing to Docker, VMs or shell scripts. It's meant for application and DevOps people who need to slap together, ie, ML, Numpy, Elasticsearch, AWS APIs and REST endpoints and Get $hit Done.

    It's annoying to see them "glueys" compared to the binary compiled segment where the heavy lifting is done. Python and others exist to latch on and assimilate. Resistance is futile:

    https://pypi.org/project/pyllamacpp/

    https://www.npmjs.com/package/llama-node

    https://packagist.org/packages/kambo/llama-cpp-php

    https://github.com/yoshoku/llama_cpp.rb

  • Could I get a suggestion for a simple HTTP API with no GUI for llama.cpp?
    8 projects | /r/LocalLLaMA | 16 May 2023
    Ruby: yoshoku/llama_cpp.rb

LLamaSharp

Posts with mentions or reviews of LLamaSharp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-14.
  • This is getting really complicated.
    10 projects | /r/LocalLLaMA | 14 Jun 2023
    For example, I have my own task and I need another tool, so I search and find what I need. https://github.com/SciSharp/LLamaSharp and this allows me to take the next step https://github.com/Xsanf/LLaMa_Unity . I can already run LLM on Unity. And this is already an opportunity to use it in games natively.
  • cannot for the life of me compile libllama.dll
    1 project | /r/LocalLLaMA | 22 May 2023
    I searched through GitHub and nothing comes up that is new. I wanted to run the model through the C# wrapper linked on LLaMASharp which requires compiling llama.cpp and extracting the libllama dll into the C# project files. When I build llama.cpp with OpenBLAS, everything shows up fine in the command line. Just as the link suggests I make sure to set DBUILD_SHARED_LIBS=ON when in CMake. However, the output in the Visual Studio Developer Command Line interface ignores the setup for libllama.dll in the CMakeFiles.txt entirely. The only dll to compile is llama.dll; I know this is a fairly technical question but does anyone know how to fix?
  • Could I get a suggestion for a simple HTTP API with no GUI for llama.cpp?
    8 projects | /r/LocalLLaMA | 16 May 2023
    C#/.NET: SciSharp/LLamaSharp

What are some alternatives?

When comparing llama_cpp.rb and LLamaSharp you can also consider the following projects:

go-llama.cpp - LLama.cpp golang bindings

SillyTavern - LLM Frontend for Power Users.

llama.cpp-dotnet - Minimal C# bindings for llama.cpp + .NET core library with API host/client.

flake - A Nix flake for many AI projects

llama.net - .NET wrapper for LLaMA.cpp for LLaMA language model inference on CPU. 🦙

llama-cpp.el - A client for llama-cpp server

SciSharp-Stack-Examples - Practical examples written in SciSharp's machine learning libraries

llama-go - Port of Facebook's LLaMA (Large Language Model Meta AI) in Golang with embedded C/C++

LLamaStack - ASP.NET Core Web, WebApi & WPF implementations for LLama.cpp & LLamaSharp

llama.cpp - LLM inference in C/C++

LocalAI - :robot: The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.