Instructions to use ornith-ai/Ornith-1.0-35B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ornith-ai/Ornith-1.0-35B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ornith-ai/Ornith-1.0-35B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ornith-ai/Ornith-1.0-35B") model = AutoModelForMultimodalLM.from_pretrained("ornith-ai/Ornith-1.0-35B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ornith-ai/Ornith-1.0-35B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ornith-ai/Ornith-1.0-35B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ornith-ai/Ornith-1.0-35B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ornith-ai/Ornith-1.0-35B
- SGLang
How to use ornith-ai/Ornith-1.0-35B 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 "ornith-ai/Ornith-1.0-35B" \ --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": "ornith-ai/Ornith-1.0-35B", "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 "ornith-ai/Ornith-1.0-35B" \ --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": "ornith-ai/Ornith-1.0-35B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ornith-ai/Ornith-1.0-35B with Docker Model Runner:
docker model run hf.co/ornith-ai/Ornith-1.0-35B
NVFP4 quantization of Ornith-1.0-35B (single-Blackwell-GPU, vLLM-validated)
Hi DeepReinforce team and community π
I made an NVFP4 quantization of Ornith-1.0-35B and open-sourced it here:
https://huggingface.co/ressl/Ornith-1.0-35B-NVFP4
It runs on a single Blackwell GPU instead of a multi-GPU node, and I validated it actually loads and generates in vLLM.
What it is:
β’ NVFP4 (NVIDIA 4-bit floating point, block size 16) post-training quantization, produced with the NVIDIA Model Optimizer (nvidia-modelopt 0.44.0)
β’ Experts-only: the MoE expert weights are quantized to NVFP4, while attention QKV, shared experts and the vision encoder stay in higher precision (ModelOpt NVFP4_EXPERTS_ONLY_CFG) for accuracy
β’ ~3x smaller: 69 GB BF16 β 23 GB
β’ Calibrated on 512 samples (cnn_dailymail), exported as a ModelOpt unified HF checkpoint
Why it runs on one GPU:
I exported it in the Qwen3_5MoeForConditionalGeneration / qwen3_5_moe form, the same form NVIDIA ships for nvidia/Qwen3.6-35B-A3B-NVFP4, so vLLM serves it directly (the text-only ForCausalLM form does not load in current vLLM/SGLang for this arch).
Validation:
vLLM (recent nightly) with --quantization modelopt --moe-backend marlin --attention-backend flashinfer loads it and generates coherent code at ~189 tok/s on a single RTX PRO 6000 Blackwell.
Hardware: NVFP4 needs a Blackwell GPU (sm_120). It will not run on Ada/Hopper or older.
What I also fixed on the repo:
I added preprocessor_config.json / processor_config.json / video_preprocessor_config.json (from the original Ornith-1.0-35B) so vLLM can build the image preprocessor without a local patch.
One honest caveat:
This checkpoint has no MTP head (config says mtp_num_hidden_layers=1, but there are 0 mtp.* tensors in the safetensors), so it cannot do MTP speculative decoding. NVIDIA's Qwen3.6-35B-A3B-NVFP4 ships with MTP; this one does not. Re-exporting with an MTP head would be needed for that.
Huge thanks to the DeepReinforce team for the MIT-licensed model and the great agentic-coding work. π Feedback, corrections, and benchmark comparisons very welcome.
cc @DeepReinforce
#nvfp4 #blackwell #vllm #modelopt
Adding single RTX 5090 (32GB) numbers to the thread since ressl's RTX PRO 6000 reference was the only single-GPU datapoint. Stock vLLM v0.25.1 (vllm-openai:v0.25.1-cu129), no forks. Two quants tested:
| Quant | Single-stream | Aggregate c=4 (2048/256) | TTFT p50 | Max ctx |
|---|---|---|---|---|
cyankiwi/Ornith-1.0-35B-AWQ-INT4 |
196.6 tok/s | 498 tok/s | 220ms | 64K tested |
rdtand/Ornith-1.0-35B-PrismaAURA-4.75bit-vllm-MTP |
283 tok/s (bf16 KV) / 267 (fp8 KV) | 661 tok/s | 92ms | 262,144 (native max) |
For everyone in #2/#26 asking about MTP + vLLM serving: the rdtand pack works on stock v0.25.1 and the re-grafted head accepts well.. I measured 51% on random-token benches, 64%+ on natural coding prompts, and 91%+ on math-heavy reasoning. MTP alone was +44% single-stream over the AWQ.
Config notes for the matrix:
- rdtand's README says
--moe-backend marlinbut v0.25.1's unquantized-MoE oracle rejects that (the mixed pack leaves some expert layers BF16):moe_backend='marlin' is not supported for unquantized MoE. Use--moe-backend flashinfer_cutlass.. valid for both oracles, and on sm_120 it avoids the flashinfer_trtllm sm_100-only crash. - Full native 262K context fits on 32GB with
--kv-cache-dtype fp8(KV pool 419,810 tokens, 1.60x concurrency at max len). Quality cost of fp8 KV measured at ~1 gsm8k question on a 101-question shard, i.e. noise. Decode stays 195-212 tok/s even 250K tokens deep with warm prefix cache. --max-num-batched-tokens >= 2096is required (GDN page size), as rdtand's card says. I ran 8192.- Full flags on the localmaxxing runs: AWQ, PrismaAURA @32K , plus kvcache curves + gsm8k/hellaswag shards under both models there.
gsm8k on identical shards puts this quant at parity with my Qwen3.6-35B-A3B-GPTQ daily driver (96-97%), so the speed isn't costing reasoning. Solid model, thanks for the quant work ressl + rdtand.