Instructions to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("nightmedia/VCoder-120b-1.0-qx86-hi-mlx") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Transformers
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nightmedia/VCoder-120b-1.0-qx86-hi-mlx") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nightmedia/VCoder-120b-1.0-qx86-hi-mlx") model = AutoModelForCausalLM.from_pretrained("nightmedia/VCoder-120b-1.0-qx86-hi-mlx") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- vLLM
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nightmedia/VCoder-120b-1.0-qx86-hi-mlx" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nightmedia/VCoder-120b-1.0-qx86-hi-mlx", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nightmedia/VCoder-120b-1.0-qx86-hi-mlx
- SGLang
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nightmedia/VCoder-120b-1.0-qx86-hi-mlx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nightmedia/VCoder-120b-1.0-qx86-hi-mlx", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "nightmedia/VCoder-120b-1.0-qx86-hi-mlx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nightmedia/VCoder-120b-1.0-qx86-hi-mlx", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx 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 nightmedia/VCoder-120b-1.0-qx86-hi-mlx 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 nightmedia/VCoder-120b-1.0-qx86-hi-mlx to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nightmedia/VCoder-120b-1.0-qx86-hi-mlx to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="nightmedia/VCoder-120b-1.0-qx86-hi-mlx", max_seq_length=2048, ) - Pi
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nightmedia/VCoder-120b-1.0-qx86-hi-mlx"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nightmedia/VCoder-120b-1.0-qx86-hi-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nightmedia/VCoder-120b-1.0-qx86-hi-mlx"
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 nightmedia/VCoder-120b-1.0-qx86-hi-mlx
Run Hermes
hermes
- MLX LM
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "nightmedia/VCoder-120b-1.0-qx86-hi-mlx"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "nightmedia/VCoder-120b-1.0-qx86-hi-mlx" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nightmedia/VCoder-120b-1.0-qx86-hi-mlx", "messages": [ {"role": "user", "content": "Hello"} ] }' - Docker Model Runner
How to use nightmedia/VCoder-120b-1.0-qx86-hi-mlx with Docker Model Runner:
docker model run hf.co/nightmedia/VCoder-120b-1.0-qx86-hi-mlx
VCoder-120b-1.0-qx86-hi-mlx
There is a new model VCoder-120b-1.0-q8-hi-mlx with straight 8 bit quanting in high precision. It is the same size, works the same way, and might solve some tool calling issues people noticed. -G
Key Insights from Benchmark Performance
Comparing model with the unsloth-gpt-oss-120b-qx86-mxfp4, a similar quant
Benchmark unsloth VCoder Winner
arc_challenge 0.334 0.323 unsloth (slight edge)
arc_easy 0.335 0.366 VCoder
boolq 0.378 0.429 VCoder
hellaswag 0.264 0.538 VCoder
openbookqa 0.354 0.360 VCoder
piqa 0.559 0.694 VCoder
winogrande 0.512 0.544 VCoder
✅ Overall Winner: VCoder
VCoder outperforms unsloth in 6/7 benchmarks, with particularly strong gains in:
- HellaSwag (0.538 vs. 0.264): ~103% improvement in commonsense reasoning (e.g., completing everyday scenarios).
- PIQA (0.694 vs. 0.559): ~24% better at physical commonsense (e.g., understanding real-world physics).
- BoolQ (0.429 vs. 0.378): ~13% improvement in binary question answering (e.g., yes/no reasoning over text).
The only minor exception is arc_challenge, where unsloth has a slightly higher score (0.334 vs. 0.323), but VCoder dominates in arc_easy (0.366 vs. 0.335), suggesting it handles easier reasoning tasks better despite a small gap in the hardest ARC questions.
Why VCoder Excels & What "High Resolution Attention" Means
- Both models are structurally similar MoEs (Mixture of Experts), but VCoder uses high-resolution attention paths and heads.
This likely enables finer-grained contextual understanding, especially for tasks requiring nuanced reasoning (e.g., HellaSwag/PIQA).
Higher attention resolution improves the model's ability to:
- Track relationships between distant tokens in long contexts.
- Resolve ambiguous pronouns (Winogrande).
- Apply physical commonsense (PIQA) or everyday scenarios (HellaSwag).
Perplexity Confirmation:
VCoder's perplexity of 4.677 ±0.032 is exceptionally low for language modeling.
Lower perplexity = better at predicting text sequences (e.g., GPT-3 has ~20+ on standard datasets).
This aligns with VCoder's superior performance across most benchmarks, as strong language modeling correlates with general reasoning abilities.
Practical Implications
For tasks requiring commonsense physics (PIQA), everyday reasoning (HellaSwag), or binary question understanding (BoolQ), VCoder is significantly stronger.
If your use case involves high-stakes scientific reasoning (arc_challenge), unsloth might edge out slightly—but this is negligible compared to VCoder’s broader strengths.
Recommendation: Prioritize VCoder unless you have a specific need for arc_challenge (which is rare in real-world applications).
VCoder’s high-resolution attention architecture delivers superior cognitive abilities across nearly all evaluated tasks, especially in commonsense reasoning and physical understanding. Its low perplexity further confirms robust language modeling skills, making it the more capable model for general-purpose reasoning. The unsloth model’s slight edge in arc_challenge is overshadowed by VCoder’s dominance elsewhere.
Quantization Perplexity tok/sec
bf16 4.669 ± 0.032 68.85
q8-hi 4.675 ± 0.032 70.32
qx86-hi 4.677 ± 0.032 71.47
Peak memory: 68.85 GB
This model VCoder-120b-1.0-qx86-hi-mlx was converted to MLX format from EpistemeAI/VCoder-120b-1.0 using mlx-lm version 0.28.2.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("VCoder-120b-1.0-qx86-hi-mlx")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
- Downloads last month
- 31
4-bit
Model tree for nightmedia/VCoder-120b-1.0-qx86-hi-mlx
Base model
openai/gpt-oss-120b