Instructions to use Felipe97/llama-cpp-compiled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Felipe97/llama-cpp-compiled with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: ./build/bin/llama cli -hf Felipe97/llama-cpp-compiled
Use Docker
docker model run hf.co/Felipe97/llama-cpp-compiled
- Llama new
- LM Studio
- Jan
- Ollama
How to use Felipe97/llama-cpp-compiled with Ollama:
ollama run hf.co/Felipe97/llama-cpp-compiled
- Unsloth Desktop
- Docker Model Runner
How to use Felipe97/llama-cpp-compiled with Docker Model Runner:
docker model run hf.co/Felipe97/llama-cpp-compiled
- Lemonade
How to use Felipe97/llama-cpp-compiled with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Felipe97/llama-cpp-compiled
Run and chat with the model
lemonade run user.llama-cpp-compiled-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download .devops/nix/jetson-support.nix from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/.devops/nix/jetson-support.nix
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/.devops/nix/jetson-support.nix
-
curl -L -o jetson-support.nix https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/.devops/nix/jetson-support.nix
1.08 kB
| { inputs, ... }: | |
| { | |
| perSystem = | |
| { | |
| config, | |
| system, | |
| lib, | |
| pkgsCuda, | |
| ... | |
| }: | |
| { | |
| legacyPackages = | |
| let | |
| caps.llamaPackagesXavier = "7.2"; | |
| caps.llamaPackagesOrin = "8.7"; | |
| caps.llamaPackagesTX2 = "6.2"; | |
| caps.llamaPackagesNano = "5.3"; | |
| pkgsFor = | |
| cap: | |
| import inputs.nixpkgs { | |
| inherit system; | |
| config = { | |
| cudaSupport = true; | |
| cudaCapabilities = [ cap ]; | |
| cudaEnableForwardCompat = false; | |
| inherit (pkgsCuda.config) allowUnfreePredicate; | |
| }; | |
| }; | |
| in | |
| builtins.mapAttrs (name: cap: (pkgsFor cap).callPackage ./scope.nix { }) caps; | |
| packages = lib.optionalAttrs (system == "aarch64-linux") { | |
| jetson-xavier = config.legacyPackages.llamaPackagesXavier.llama-cpp; | |
| jetson-orin = config.legacyPackages.llamaPackagesOrin.llama-cpp; | |
| jetson-nano = config.legacyPackages.llamaPackagesNano.llama-cpp; | |
| }; | |
| }; | |
| } | |