Instructions to use rodrigomt/s2-pro-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use rodrigomt/s2-pro-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="rodrigomt/s2-pro-gguf", filename="s2-pro-f16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use rodrigomt/s2-pro-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rodrigomt/s2-pro-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf rodrigomt/s2-pro-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rodrigomt/s2-pro-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf rodrigomt/s2-pro-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf rodrigomt/s2-pro-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf rodrigomt/s2-pro-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf rodrigomt/s2-pro-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf rodrigomt/s2-pro-gguf:Q4_K_M
Use Docker
docker model run hf.co/rodrigomt/s2-pro-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use rodrigomt/s2-pro-gguf with Ollama:
ollama run hf.co/rodrigomt/s2-pro-gguf:Q4_K_M
- Unsloth Studio new
How to use rodrigomt/s2-pro-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rodrigomt/s2-pro-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rodrigomt/s2-pro-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rodrigomt/s2-pro-gguf to start chatting
- Docker Model Runner
How to use rodrigomt/s2-pro-gguf with Docker Model Runner:
docker model run hf.co/rodrigomt/s2-pro-gguf:Q4_K_M
- Lemonade
How to use rodrigomt/s2-pro-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rodrigomt/s2-pro-gguf:Q4_K_M
Run and chat with the model
lemonade run user.s2-pro-gguf-Q4_K_M
List all available models
lemonade list
there is no output with s2.exe, neither error nor log.
#2
by X5R - opened
s2.exe -h is also none. This is my building ps1:
$env:LIB = @(
"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\x64\"
"C:\Program Files (x86)\Microsoft Visual Studio\Community\VC\Tools\MSVC\14.50.35717\lib\x64"
"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\ucrt\x64\"
) -join ";"
$env:INCLUDE = @(
"C:\Program Files (x86)\Microsoft Visual Studio\Community\VC\Tools\MSVC\14.50.35717\include"
"C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt"
"C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um"
"C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared"
) -join ";"
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release `
-DCMAKE_MAKE_PROGRAM="$PWD/ninja.exe" -DS2_CUDA=ON `
-DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="89-real" `
-DCMAKE_CUDA_COMPILER="C:/Program Files/NVIDIA Corporation/CUDA/bin/nvcc.exe" `
-DCMAKE_CUDA_HOST_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" `
-DCMAKE_RC_COMPILER="C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/rc.exe" `
-DCMAKE_MT="C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/mt.exe" `
-DCMAKE_CUDA_FLAGS="--extended-lambda --allow-unsupported-compiler"
cmake --build build --config Release
build with nvcc V13.1.115, cuda_13.1.r13.1, ninja 1.13.2