Instructions to use ggml-org/Laya-GGUF 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 ggml-org/Laya-GGUF 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 ggml-org/Laya-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ggml-org/Laya-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/Laya-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ggml-org/Laya-GGUF:BF16
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 ggml-org/Laya-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf ggml-org/Laya-GGUF:BF16
Use Docker
docker model run hf.co/ggml-org/Laya-GGUF:BF16
- Llama new
- LM Studio
- Jan
- Ollama
How to use ggml-org/Laya-GGUF with Ollama:
ollama run hf.co/ggml-org/Laya-GGUF:BF16
- Unsloth Desktop
- Docker Model Runner
How to use ggml-org/Laya-GGUF with Docker Model Runner:
docker model run hf.co/ggml-org/Laya-GGUF:BF16
- Lemonade
How to use ggml-org/Laya-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ggml-org/Laya-GGUF:BF16
Run and chat with the model
lemonade run user.Laya-GGUF-BF16
List all available models
lemonade list
- Atomic Chat
not working with llama-b11345
0.00.159.996 I srv load_model: loading model './models/Laya-BF16.gguf'
0.00.160.001 I srv load_model: local path './models/Laya-BF16.gguf'
0.00.160.014 I cmn common_init_: fitting params to device memory ...
0.00.160.015 I cmn common_init_: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
0.00.160.053 I common_params_fit_impl: getting device memory data for initial parameters:
0.00.209.884 E llama_model_load: error loading model: check_tensor_dims: tensor 'blk.28.ffn_up.weight' has wrong shape; expected 1024, 5248, got 1024, 4096, 1, 1
0.00.209.889 E llama_model_load_from_file_impl: failed to load model
0.00.209.910 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
new version llama.cpp is working now