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 .github/workflows/hip-quality-check.yml from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/.github/workflows/hip-quality-check.yml
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/.github/workflows/hip-quality-check.yml
-
curl -L -o hip-quality-check.yml https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/.github/workflows/hip-quality-check.yml
3.11 kB
| name: HIP quality check | |
| on: | |
| workflow_dispatch: # allows manual triggering | |
| push: | |
| branches: | |
| - master | |
| paths: [ | |
| '.github/workflows/hip-quality-check.yml', | |
| '**/*.cu', | |
| '**/*.cuh', | |
| 'ggml/src/ggml-hip/CMakeLists.txt', | |
| 'ggml/src/ggml-cuda/vendors/hip.h', | |
| 'scripts/hip/gcn-cdna-vgpr-check.py' | |
| ] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: [ | |
| '.github/workflows/hip-quality-check.yml', | |
| '**/*.cu', | |
| '**/*.cuh', | |
| 'ggml/src/ggml-hip/CMakeLists.txt', | |
| 'ggml/src/ggml-cuda/vendors/hip.h', | |
| 'scripts/hip/gcn-cdna-vgpr-check.py' | |
| ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| GGML_NLOOP: 3 | |
| GGML_N_THREADS: 1 | |
| LLAMA_ARG_LOG_COLORS: 1 | |
| LLAMA_ARG_LOG_PREFIX: 1 | |
| LLAMA_ARG_LOG_TIMESTAMPS: 1 | |
| jobs: | |
| ubuntu-22-hip-quality-check: | |
| runs-on: ubuntu-22.04 | |
| container: rocm/dev-ubuntu-22.04:7.2.1 | |
| steps: | |
| - name: Clone | |
| id: checkout | |
| uses: actions/checkout@v6 | |
| - name: Dependencies | |
| id: depends | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libssl-dev python3 python3-venv python3-pip jq | |
| - name: ccache | |
| uses: ggml-org/ccache-action@v1.2.24 | |
| with: | |
| key: hip-quality-check-ubuntu-22.04 | |
| save: false | |
| - name: ccache-buckets-restore | |
| uses: ./.github/actions/ccache-buckets | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN_CI }} | |
| with: | |
| key: hip-quality-check-ubuntu-22.04 | |
| folder: llama.cpp | |
| hf_bucket: ggml-org/cache | |
| - name: Build with Werror | |
| id: cmake_build | |
| run: | | |
| cmake -B build -S . \ | |
| -DCMAKE_HIP_COMPILER="$(hipconfig -l)/clang" \ | |
| -DGPU_TARGETS=gfx942 \ | |
| -DGGML_HIP=ON \ | |
| -DGGML_HIP_EXPORT_METRICS=Off \ | |
| -DCMAKE_HIP_FLAGS="-Werror -Wno-tautological-compare" \ | |
| -DCMAKE_BUILD_TYPE=Release | |
| cd build | |
| make -j $(nproc) | |
| - name: Check for major VGPR spills | |
| id: vgpr_check | |
| run: | | |
| cmake -B build -S . \ | |
| -DCMAKE_HIP_COMPILER="$(hipconfig -l)/clang" \ | |
| -DGPU_TARGETS=gfx908 \ | |
| -DGGML_HIP=ON \ | |
| -DGGML_HIP_EXPORT_METRICS=On \ | |
| -DCMAKE_HIP_FLAGS="" \ | |
| -DCMAKE_BUILD_TYPE=Release | |
| cd build | |
| make -j $(nproc) 2>&1 | tee metrics.log | grep -v 'Rpass-analysis=kernel-resource-usage\|remark:\|^$' | |
| python3 ../scripts/hip/gcn-cdna-vgpr-check.py metrics.log | |
| - name: ccache-buckets-save | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| uses: ./.github/actions/ccache-buckets | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN_CACHE_OUTPUT }} | |
| with: | |
| key: hip-quality-check-ubuntu-22.04 | |
| folder: llama.cpp | |
| evict-old-files: 1d | |
| hf_bucket: ggml-org/cache | |
| save: true | |