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 cmake/arm64-windows-msvc-cuda.cmake from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/cmake/arm64-windows-msvc-cuda.cmake
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/cmake/arm64-windows-msvc-cuda.cmake
-
curl -L -o arm64-windows-msvc-cuda.cmake https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/cmake/arm64-windows-msvc-cuda.cmake
1.31 kB
| # Used to cross-compile ggml-cuda for Windows ARM64 on an x64 Windows host. | |
| set( CMAKE_SYSTEM_NAME Windows ) | |
| set( CMAKE_SYSTEM_PROCESSOR arm64 ) | |
| if ( DEFINED CUDAToolkit_ROOT ) | |
| file( TO_CMAKE_PATH "${CUDAToolkit_ROOT}" CUDA_ROOT ) | |
| elseif ( DEFINED ENV{CUDA_PATH} ) | |
| file( TO_CMAKE_PATH "$ENV{CUDA_PATH}" CUDA_ROOT ) | |
| else() | |
| message( FATAL_ERROR "Set CUDAToolkit_ROOT or CUDA_PATH to a Windows CUDA Toolkit with ARM64 target libraries" ) | |
| endif() | |
| if ( DEFINED ENV{VCToolsInstallDir} ) | |
| file( TO_CMAKE_PATH "$ENV{VCToolsInstallDir}" MSVC_TOOLS_ROOT ) | |
| set( CMAKE_CUDA_HOST_COMPILER "${MSVC_TOOLS_ROOT}/bin/Hostx64/arm64/cl.exe" CACHE FILEPATH "" ) | |
| endif() | |
| set( CMAKE_CUDA_COMPILER "${CUDA_ROOT}/bin/nvcc.exe" CACHE FILEPATH "" ) | |
| set( CMAKE_CUDA_FLAGS_INIT "-target-dir=arm64" ) | |
| # FindCUDAToolkit selects lib/x64 from the host architecture on Windows. | |
| set( CUDA_CUDART "${CUDA_ROOT}/lib/arm64/cudart.lib" CACHE FILEPATH "" ) | |
| set( CUDA_cudart_LIBRARY "${CUDA_ROOT}/lib/arm64/cudart.lib" CACHE FILEPATH "" ) | |
| set( CUDA_cublas_LIBRARY "${CUDA_ROOT}/lib/arm64/cublas.lib" CACHE FILEPATH "" ) | |
| set( CUDA_cublasLt_LIBRARY "${CUDA_ROOT}/lib/arm64/cublasLt.lib" CACHE FILEPATH "" ) | |
| set( CUDA_cuda_driver_LIBRARY "${CUDA_ROOT}/lib/arm64/cuda.lib" CACHE FILEPATH "" ) | |