Instructions to use jsantillana/vectrayx-vision 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 jsantillana/vectrayx-vision 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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: llama cli -hf jsantillana/vectrayx-vision:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: llama cli -hf jsantillana/vectrayx-vision: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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf jsantillana/vectrayx-vision: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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf jsantillana/vectrayx-vision:Q4_K_M
Use Docker
docker model run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use jsantillana/vectrayx-vision with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jsantillana/vectrayx-vision" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jsantillana/vectrayx-vision", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- Ollama
How to use jsantillana/vectrayx-vision with Ollama:
ollama run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- Unsloth Studio
How to use jsantillana/vectrayx-vision 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 jsantillana/vectrayx-vision 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 jsantillana/vectrayx-vision to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jsantillana/vectrayx-vision to start chatting
- Pi
How to use jsantillana/vectrayx-vision with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jsantillana/vectrayx-vision:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jsantillana/vectrayx-vision with Docker Model Runner:
docker model run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- Lemonade
How to use jsantillana/vectrayx-vision with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jsantillana/vectrayx-vision:Q4_K_M
Run and chat with the model
lemonade run user.vectrayx-vision-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use jsantillana/vectrayx-vision with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default jsantillana/vectrayx-vision:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jsantillana/vectrayx-vision with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "jsantillana/vectrayx-vision:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
llama.cpp error: tensor 'rope_freqs.weight' not found
Hey! Thanks for contributing with this model. I'm trying to do inference with it using the latest llama.cpp and I get this error:
tensor 'rope_freqs.weight' not found
It seems like an incompatibility between llama.cpp gguf-reader code and the vectrayx-vision-Q4_K_M.gguf model.
Here's the complete error and also the llama.cpp version, for reference:
$ llama-cli --version
version: 10271 (2f56fc343)
built with AppleClang 17.0.0.17000603 for Darwin arm64
$ llama-cli -m ~/Downloads/vectrayx-vision-Q4_K_M.gguf -p "what's your name?" -n 32
Loading model... \0.00.311.558 E llama_model_load: error loading model: check_tensor_dims: tensor 'rope_freqs.weight' not found
0.00.311.693 E llama_model_load_from_file_impl: failed to load model
0.00.311.731 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
-0.00.587.849 E llama_model_load: error loading model: check_tensor_dims: tensor 'rope_freqs.weight' not found
0.00.587.853 E llama_model_load_from_file_impl: failed to load model
0.00.587.855 E cmn common_init_: failed to load model '~/Downloads/vectrayx-vision-Q4_K_M.gguf'
0.00.587.856 E srv load_model: failed to load model, '~/Downloads/vectrayx-vision-Q4_K_M.gguf'
0.00.587.988 E srv llama_server: exiting due to model loading error
llama_server exited with code 1
Error: the server exited before becoming ready
Does the model work for you? It gives the same error with ollama too.
Thanks for the report! The issue has been fixed.
Root cause: llama.cpp ≥b3800 requires a rope_freqs.weight tensor when rope_freq_base is non-default. This model uses rope_freq_base = 1,000,000 so the tensor is required. The original export did not include it.
Fix: The tensor was added to the GGUF using a binary patch: inv_freq[i] = 1 / rope_theta^(2i / rope_dim) for rope_theta=1e6, rope_dim=512, shape (256,). The vectrayx-vision-Q4_K_M.gguf has been updated in this repo.
Tested with llama.cpp b10289 (master) — loads and generates correctly. Please re-download the file.
Note: you may also need --jinja flag when using llama-cli / llama-completion since this model uses a complex Gemma-4 chat template that requires the Jinja renderer.
Thank you. The llama.cpp version is now working fine! The ollama version didn't for me, though. I got the same error in that case.
$ ollama rm jsantillana/vectrayx-vision:latest
deleted 'jsantillana/vectrayx-vision:latest'
$ ollama run jsantillana/vectrayx-vision:latest
pulling manifest
pulling 81e5feaf77a5: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████▏ 5.3 GB
pulling fbafc18dcf36: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████▏ 990 MB
verifying sha256 digest
writing manifest
success
Error: 500 Internal Server Error: llama-server process has terminated: exit status 1: error loading model: missing tensor 'rope_freqs.weight'
error loading model: missing tensor 'rope_freqs.weight'