Instructions to use Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF") 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 AutoModel model = AutoModel.from_pretrained("Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF", "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/Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF
- SGLang
How to use Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF 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 "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF" \ --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": "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF", "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 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 "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF" \ --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": "Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF", "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" } } ] } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF with Docker Model Runner:
docker model run hf.co/Jackrong/Qwopus3.6-35B-A3B-v1-MTP-GGUF
Request for UD quants of the model
Dear @Jackrong , thank you for your work. The models are awesome. The only issue is with their quants.
Default Q2, Q3, Q4 quantization does not preserve models quality, because many fragile tensor types could be quantized with higher bits at the cost of a tiny file increase.
Problem Statement
The main weaknesses in current Q4_K_M quantization (just for example) are insufficient precision on highly sensitive tensors, particularly: attention projections (Q/K/V/Output), SSM components, and MTP-related tensors. These lower-bit assignments (mostly Q4_K and some mixed Q6_K) increase quantization error in critical paths compared to Unsloth’s more conservative approach.
Proposed Improvements (based on Unsloth’s superior strategy):
attn_qkv.weight [2048, 8192] Q6_K => attn_qkv.weight [2048, 8192] Q8_0attn_q.weight [2048, 8192] Q4_K => attn_q.weight [2048, 8192] Q8_0attn_k.weight [2048, 512] Q4_K => attn_k.weight [2048, 512] Q8_0attn_v.weight [2048, 512] Q6_K => attn_v.weight [2048, 512] Q8_0attn_output.weight [4096, 2048] Q4_K => attn_output.weight [4096, 2048] Q8_0ffn_down_exps.weight [512, 2048, 256] Q6_K => ffn_down_exps.weight [512, 2048, 256] Q5_Kffn_down_shexp.weight [512, 2048] Q6_K => ffn_down_shexp.weight [512, 2048] Q8_0ffn_gate_shexp.weight [2048, 512] Q4_K => ffn_gate_shexp.weight [2048, 512] Q8_0ffn_up_shexp.weight [2048, 512] Q4_K => ffn_up_shexp.weight [2048, 512] Q8_0ssm_alpha.weight [2048, 32] Q4_K => ssm_alpha.weight [2048, 32] F32ssm_beta.weight [2048, 32] Q4_K => ssm_beta.weight [2048, 32] F32ssm_out.weight [4096, 2048] Q4_K => ssm_out.weight [4096, 2048] Q8_0nextn.eh_proj.weight [4096, 2048] Q4_K => nextn.eh_proj.weight [4096, 2048] Q8_0
Recommended llama-quantize Command
./llama-quantize \
--imatrix imatrix.dat \
--tensor-type "attn_qkv.weight=Q8_0" \
--tensor-type "attn_q.weight=Q8_0" \
--tensor-type "attn_k.weight=Q8_0" \
--tensor-type "attn_v.weight=Q8_0" \
--tensor-type "attn_output.weight=Q8_0" \
--tensor-type "ffn_down_exps.weight=Q5_K" \
--tensor-type "ffn_down_shexp.weight=Q8_0" \
--tensor-type "ffn_gate_shexp.weight=Q8_0" \
--tensor-type "ffn_up_shexp.weight=Q8_0" \
--tensor-type "ssm_alpha.weight=F32" \
--tensor-type "ssm_beta.weight=F32" \
--tensor-type "ssm_out.weight=Q8_0" \
--tensor-type "nextn.eh_proj.weight=Q8_0" \
--output-tensor-type Q6_K \
model-f16.gguf \
model-Q4_K_M-improved.gguf \
Q4_K_M
This command uses Q4_K_M as the base quantization while selectively applying higher precision to the most critical tensors following Unsloth’s proven pattern.