Downloads · 30 days
1.3K
10% of all-time downloads
Max73333/Qwen3.8-27B-GPTQ-Int4-V100
Qwen3.8-27B-GPTQ-Int4-V100 is a text generation model from Max73333. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A tested Docker + patched vLLM setup for running this model on NVIDIA Tesla V100 (SM70) is available here:
Downloads · 30 days
1.3K
10% of all-time downloads
All-time downloads
13.1K
Public
Parameters
27.8B
19.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors19.6 GB · 100%
How the weights are stored.
I3224.3B · 88%
From the Hugging Face model README
A tested Docker + patched vLLM setup for running this model on NVIDIA Tesla V100 (SM70) is available here:
GitHub: https://github.com/pmaxx73/qwen38-v100
Tested configuration:
bcf2be96120005e9aea171927f85055a6a5c0cf6Current limitation:
GPTQ Int4 quantization of Qwen/Qwen3.8-27B, prepared and tested for inference on an NVIDIA Tesla V100-SXM2-32GB (compute capability 7.0 / sm_70).
The main goal of this build is to provide a practical 4-bit variant that can run on Volta GPUs, where some newer AWQ / compressed-tensors kernels require a newer compute capability.
Qwen/Qwen3.8-27Bdesc_act: falsesym: truesm_70)The model was quantized with:
from gptqmodel import QuantizeConfig
quant_config = QuantizeConfig(
bits=4,
group_size=128,
desc_act=False,
sym=True,
)
Quantization was performed from the original Qwen/Qwen3.8-27B weights using GPTQModel.
The following environment was used successfully:
GPU: NVIDIA Tesla V100-SXM2-32GB
Compute capability: 7.0 / sm_70
CUDA toolkit: 12.8
PyTorch: 2.10.0+cu128
vLLM: source build based on 0.18.x
GDN prefill backend: Triton
The vLLM build was compiled from source with support for sm_70.
Example build environment:
export CUDA_HOME=/usr/local/cuda-12.8
export TORCH_CUDA_ARCH_LIST="7.0"
This model was tested with a patched source build of vLLM.
Stock vLLM compatibility depends on the version. In the tested source checkout, several compatibility fixes were required for the Qwen3.8 text-only path and for CUDA Graph / hybrid KV-cache initialization.
In particular:
Qwen3_5ForCausalLM architecture required explicit routing in the tested vLLM source.[2, 2, ...].Because of this, do not assume every stock vLLM release will run this model unchanged.
The tested launch configuration was:
vllm serve /path/to/Qwen3.8-27B-GPTQ-Int4 \
--host 0.0.0.0 \
--port 8002 \
--served-model-name qwen38 \
--gpu-memory-utilization 0.90 \
--max-model-len 4096 \
--max-num-seqs 1 \
--gdn-prefill-backend triton
For the tested V100 setup, do not use --enforce-eager unless you need it for debugging or compatibility. CUDA Graph / compiled execution was much faster after warmup.
Measured on one NVIDIA Tesla V100-SXM2-32GB:
| Test | Result |
|---|---|
| 100 generated tokens, first warmed request | ~15 s |
| 100 generated tokens, subsequent request | ~2.7 s |
| 500 generated tokens | ~12.5 s |
| Steady-state generation | ~37–40 tokens/s |
These measurements were taken with:
max_model_len = 4096
max_num_seqs = 1
GPTQ Int4
Triton GDN backend
compiled / CUDA Graph execution
The first request after startup can be significantly slower because Triton kernels and execution graphs need to warm up.
curl http://127.0.0.1:8002/v1/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen38",
"prompt": "Кратко объясни, что такое квантование нейросетей.",
"max_tokens": 100,
"temperature": 0.2
}'
Depending on the tokenizer / chat template and API endpoint, the model may emit reasoning blocks such as:
<think>
...
</think>
If you use the model in an application, you may want to configure the chat template or post-processing so reasoning is handled separately from the visible assistant answer.
The model was initially validated with:
--max-model-len 4096
Longer context sizes such as 8192, 16384, or 32768 should be tested incrementally because available KV-cache memory depends on:
Some pre-quantized AWQ / compressed-tensors builds use kernels that require a GPU compute capability newer than Volta.
On a Tesla V100 (sm_70), those builds can fail with messages indicating a minimum compute capability such as 7.5.
This GPTQ Int4 build was created specifically to provide a working alternative for V100-class hardware.
A descriptive Hugging Face repository name would be:
Qwen3.8-27B-GPTQ-Int4-V100
or:
Qwen3.8-27B-GPTQ-Int4-sm70
Original model:
Qwen/Qwen3.8-27B
Please review and comply with the original model's license and usage terms when using or redistributing this quantized derivative.