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 tools/ui/tests/unit/glob-search-children.test.ts from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 3.61 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/unit/glob-search-children.test.ts
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/tests/unit/glob-search-children.test.ts
-
curl -L -o glob-search-children.test.ts https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/unit/glob-search-children.test.ts
3.61 kB
| import { beforeEach, describe, expect, it, vi } from 'vitest'; | |
| vi.mock('$lib/services/tools.service', () => ({ | |
| ToolsService: { executeToolRaw: vi.fn() } | |
| })); | |
| import { GlobSearchType } from '$lib/enums'; | |
| import { ToolsService } from '$lib/services/tools.service'; | |
| import { runGlobSearchWithChildren } from '$lib/utils'; | |
| const mockExecute = vi.mocked(ToolsService.executeToolRaw); | |
| // Distinct roots per test so the module-level search cache never serves a | |
| // prior test's result under the same (type, path, glob, depth) key. | |
| beforeEach(() => { | |
| mockExecute.mockReset(); | |
| }); | |
| describe('runGlobSearchWithChildren', () => { | |
| it('returns ranked outer entries as absolute paths without descending', async () => { | |
| mockExecute.mockResolvedValueOnce({ | |
| base: '/Users/rootA', | |
| entries: [ | |
| { path: 'note.md', type: 'file' }, | |
| { path: 'src', type: 'dir' } | |
| ] | |
| }); | |
| const res = await runGlobSearchWithChildren( | |
| 'note', | |
| '/Users/rootA', | |
| 3, | |
| 50, | |
| new AbortController().signal | |
| ); | |
| expect(res.error).toBeUndefined(); | |
| expect(res.entries.map((e) => e.path)).toEqual(['/Users/rootA/note.md', '/Users/rootA/src']); | |
| expect(res.exactDir).toBeUndefined(); | |
| expect(mockExecute).toHaveBeenCalledTimes(1); | |
| }); | |
| it('appends a matched directorys children when the query ends with a separator', async () => { | |
| mockExecute | |
| .mockResolvedValueOnce({ base: '/Users/rootB', entries: [{ path: 'src', type: 'dir' }] }) | |
| .mockResolvedValueOnce({ | |
| base: '/Users/rootB/src', | |
| entries: [ | |
| { path: 'a.txt', type: 'file' }, | |
| { path: 'sub', type: 'dir' } | |
| ] | |
| }); | |
| const res = await runGlobSearchWithChildren( | |
| '/Users/rootB/src/', | |
| '/Users/rootB', | |
| 3, | |
| 50, | |
| new AbortController().signal, | |
| { descendOnTrailingSeparator: true, type: GlobSearchType.ALL } | |
| ); | |
| expect(res.error).toBeUndefined(); | |
| expect(res.exactDir).toBe('/Users/rootB/src'); | |
| expect(res.entries.map((e) => e.path)).toEqual([ | |
| '/Users/rootB/src', | |
| '/Users/rootB/src/a.txt', | |
| '/Users/rootB/src/sub' | |
| ]); | |
| expect(mockExecute).toHaveBeenCalledTimes(2); | |
| }); | |
| it('does not descend without a trailing separator in mention mode', async () => { | |
| mockExecute.mockResolvedValueOnce({ | |
| base: '/Users/rootC', | |
| entries: [{ path: 'src', type: 'dir' }] | |
| }); | |
| const res = await runGlobSearchWithChildren( | |
| '/Users/rootC/src', | |
| '/Users/rootC', | |
| 3, | |
| 50, | |
| new AbortController().signal, | |
| { descendOnTrailingSeparator: true, type: GlobSearchType.ALL } | |
| ); | |
| expect(res.exactDir).toBeUndefined(); | |
| expect(mockExecute).toHaveBeenCalledTimes(1); | |
| }); | |
| it('descends on an exact directory match in WD mode', async () => { | |
| mockExecute | |
| .mockResolvedValueOnce({ base: '/Users/rootD', entries: [{ path: 'src', type: 'dir' }] }) | |
| .mockResolvedValueOnce({ | |
| base: '/Users/rootD/src', | |
| entries: [{ path: 'a.txt', type: 'file' }] | |
| }); | |
| const res = await runGlobSearchWithChildren( | |
| '/Users/rootD/src', | |
| '/Users/rootD', | |
| 3, | |
| 50, | |
| new AbortController().signal, | |
| { type: GlobSearchType.DIR } | |
| ); | |
| expect(res.exactDir).toBe('/Users/rootD/src'); | |
| expect(res.entries.map((e) => e.path)).toEqual(['/Users/rootD/src', '/Users/rootD/src/a.txt']); | |
| expect(mockExecute).toHaveBeenCalledTimes(2); | |
| }); | |
| it('surfaces a server error without attempting a child walk', async () => { | |
| mockExecute.mockResolvedValueOnce({ error: 'boom' }); | |
| const res = await runGlobSearchWithChildren( | |
| 'src', | |
| '/Users/rootE', | |
| 3, | |
| 50, | |
| new AbortController().signal | |
| ); | |
| expect(res.error).toBe('boom'); | |
| expect(res.entries).toEqual([]); | |
| expect(mockExecute).toHaveBeenCalledTimes(1); | |
| }); | |
| }); | |