Image-Text-to-Text
Transformers
Safetensors
PyTorch
English
Korean
qwen3_5
qwen3.8
multimodal
vision-language-model
quantization
post-training-quantization
warpquant
llm
conversational
Instructions to use HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4") 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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4") model = AutoModelForMultimodalLM.from_pretrained("HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4", "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/HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4
- SGLang
How to use HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4 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 "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4" \ --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": "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4", "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 "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4" \ --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": "HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4", "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" } } ] } ] }' - Docker Model Runner
How to use HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4 with Docker Model Runner:
docker model run hf.co/HarimxChoi/WarpQuant-Qwen3.8-27B-R16E4H4
Harim Choi commited on
Upload experiment/core-sha256.txt with huggingface_hub
Browse files
experiment/core-sha256.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
191e0af232104ed8b65258cf3fb2b842e288008baca7633c11b82a1ac7203aab /workspace/warpquant-qwen38-27b-20260815/source-bf16/config.json
|
| 2 |
+
46e797a86c5795878d266c83c4a826362b67872c5ec7da15d6b32e1265e73495 /workspace/warpquant-qwen38-27b-20260815/selection-manifest.json
|
| 3 |
+
805f67fe9346c6e3e460e518f6384040873d324a756241cc1b2d4264df8a4e38 /workspace/warpquant-qwen38-27b-20260815/base-3.50/tqi3_fake_quant.json
|
| 4 |
+
d0598d7bbd80f3ec6d2fdea79340e0326339f43f642ca19420d8e651c21cfe5b /workspace/warpquant-qwen38-27b-20260815/output-fisher/manifest.json
|
| 5 |
+
2a249ad8626308fef8f7cdbf85c49fac3438e8eb9b35a5639f62c3fae6eea3bb /workspace/warpquant-qwen38-27b-20260815/results/output-fisher-selection.json
|
| 6 |
+
23c0bdcdc1d908f7dc940186cad679c7d38b790f6f5ce971e52d2b9c05464777 /workspace/warpquant-qwen38-27b-20260815/checkpoints/r16e4h4/warpquant_weak_columns.json
|
| 7 |
+
736993f3952df348cc4262b08bb1ec5f281dcaaed657fe24e6eba1caa86ee14d /workspace/warpquant-qwen38-27b-20260815/results/base-ppl.json
|
| 8 |
+
b9579253c47187b3ffbe30af48b23a1328ee7f0b473f7a8961907b33fe433ea5 /workspace/warpquant-qwen38-27b-20260815/results/r16e4h4-ppl.json
|