Instructions to use ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4") 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)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4") model = AutoModelForImageTextToText.from_pretrained("ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4
- SGLang
How to use ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 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 "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4" \ --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": "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4", "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 "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4" \ --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": "ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 with Docker Model Runner:
docker model run hf.co/ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4
Qwopus3.5-27B-v3-NVFP4
Mixed-precision quantized version of ShinePixelOrg/Qwopus3.5-27B-v3.
This checkpoint keeps the same hybrid Qwen3.5 DeltaNet + softmax architecture and Qwen3.5 MTP head as the BF16 source, but applies the NVFP4/FP8/BF16 mixed recipe that worked well.
The published folder includes:
model.safetensorsconfig.jsonrecipe.yamltokenizer.jsontokenizer_config.jsonprocessor_config.jsonpreprocessor_config.jsonvideo_preprocessor_config.jsongeneration_config.jsonchat_template.jinja
Verified Inference
Local inference was verified on a single NVIDIA RTX PRO 6000 Blackwell Workstation Edition (96 GB) with:
vllm==0.17.1transformers==5.3.0
Patch note:
- The old v1 one-line
vllmpatch for the Blackwell/TMA issue may still be required if you encounter the same problem. - If your local
vllmbuild does not already include that fix, apply the one-line patch.
Concrete patch command:
UTILS_FILE=$(python -c "import vllm, os; print(os.path.join(os.path.dirname(vllm.__file__), 'model_executor/layers/fla/ops/utils.py'))") && sed -i 's/is_nvidia and torch.cuda.get_device_capability(0)\[0\] >= 9/is_nvidia and 9 <= torch.cuda.get_device_capability(0)[0] < 12/' "$UTILS_FILE"
The exact validated command for MTP-enabled serving was:
CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0 \
vllm serve ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 \
--max-model-len 262144 \
--gpu-memory-utilization 0.85 \
--kv-cache-dtype fp8_e4m3 \
--max-num-seqs 1 \
--skip-mm-profiling \
--reasoning-parser qwen3 \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}'
The same model also serves without MTP:
CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0 \
vllm serve ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 \
--max-model-len 262144 \
--gpu-memory-utilization 0.85 \
--kv-cache-dtype fp8_e4m3 \
--max-num-seqs 1 \
--skip-mm-profiling \
--reasoning-parser qwen3
What was verified in that run:
- the server started cleanly
GET /healthreturned200GET /v1/modelsreturned the modelPOST /v1/chat/completionsreturned200- MTP/speculative decoding was active and reported acceptance metrics in the server logs
Quantization Strategy
Non-uniform mixed-precision quantization using llm-compressor:
| Precision | Layers |
|---|---|
| FP8 W8A8 | DeltaNet in_proj_qkv, in_proj_z, out_proj; softmax q_proj/k_proj/v_proj; MLP down_proj |
| NVFP4 W4A4 | softmax o_proj; MLP gate_proj/up_proj |
| BF16 | lm_head, embed_tokens, DeltaNet in_proj_a/in_proj_b, norms, visual encoder, MTP sidecar |
Architecture match with the BF16 source:
model_type=qwen3_564text layersfull_attention_interval=4mtp_num_hidden_layers=1max_position_embeddings=262144
Usage
vLLM
pip install -U vllm transformers
With MTP:
vllm serve ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 \
--max-model-len 262144 \
--gpu-memory-utilization 0.85 \
--kv-cache-dtype fp8_e4m3 \
--max-num-seqs 1 \
--skip-mm-profiling \
--reasoning-parser qwen3 \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}'
Without MTP:
vllm serve ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4 \
--max-model-len 262144 \
--gpu-memory-utilization 0.85 \
--kv-cache-dtype fp8_e4m3 \
--max-num-seqs 1 \
--skip-mm-profiling \
--reasoning-parser qwen3
Transformers
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(
"ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(
"ShinePixelOrg/Qwopus3.5-27B-v3-NVFP4",
trust_remote_code=True,
)
Compatibility
| Framework | Supported | Notes |
|---|---|---|
| vLLM >= 0.17.0 | Yes | Verified locally with vllm==0.17.1 |
| transformers >= 5.3.0 | Yes | Direct loading works with device_map="auto" |
- Downloads last month
- 216