AxisQuant / Qwen3.5-4B-INT8

huggingface.co
Total runs: 109
24-hour runs: 0
7-day runs: -64
30-day runs: -229
Model's Last Updated: Có thể 16 2026
text-generation

Introduction of Qwen3.5-4B-INT8

Model Details of Qwen3.5-4B-INT8

Qwen3.5-4B-INT8

Author: Prashant Takale

Model Description

This is an INT8 quantized version of Qwen/Qwen3.5-4B using bitsandbytes LLM.int8() quantization.

What I Did
  • Quantized the original Qwen3.5-4B model from BF16 to INT8 precision using bitsandbytes
  • Reduced memory footprint by 42.4% while maintaining model quality
  • Benchmarked on WikiText-2 (perplexity) and GSM8K (math reasoning)
Why I Did This
  1. Memory Efficiency: Reduce GPU memory requirements to run on smaller GPUs
  2. Faster Inference: INT8 operations can be faster on compatible hardware
  3. Accessibility: Enable deployment on consumer-grade hardware with limited VRAM
Benchmark Results
Metric Baseline (BF16) INT8 Change
Memory 8.41 GB 4.84 GB -42.4%
Perplexity (WikiText-2) 12.59 12.75 +1.30%
GSM8K Accuracy 86.00% ~86% Minimal degradation
Key Findings
  • 1.74x memory reduction with minimal quality loss
  • Only +1.30% perplexity increase on WikiText-2
  • Math reasoning capabilities preserved on GSM8K benchmark
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "prashantcp8/Qwen3.5-4B-INT8",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("prashantcp8/Qwen3.5-4B-INT8")

messages = [{"role": "user", "content": "What is machine learning?"}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
Technical Details
  • Quantization Method: bitsandbytes LLM.int8()
  • Base Model: Qwen/Qwen3.5-4B
  • Original Precision: BF16
  • Quantized Precision: INT8
  • Framework: Transformers + bitsandbytes
Hardware Used
  • GPU: NVIDIA L4
  • PyTorch: 2.10.0+cu128
Limitations
  • Requires bitsandbytes library for optimal performance
  • Some operations may cast to FP16 during inference
  • Best suited for NVIDIA GPUs with INT8 tensor core support
Citation

If you use this model, please cite the original Qwen3.5 model:

@misc{qwen3.5,
  title={Qwen3.5 Technical Report},
  author={Qwen Team},
  year={2025},
  publisher={Alibaba}
}
Author

Prashant Takale


Note: This model is for testing and experimental purposes only. There are still some improvements required in terms of inference speed and accuracy. I plan to explore better quantization methods like AWQ or GPTQ in future iterations for optimized performance.

Runs of AxisQuant Qwen3.5-4B-INT8 on huggingface.co

109
Total runs
0
24-hour runs
3
3-day runs
-64
7-day runs
-229
30-day runs

More Information About Qwen3.5-4B-INT8 huggingface.co Model

More Qwen3.5-4B-INT8 license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen3.5-4B-INT8 huggingface.co

Qwen3.5-4B-INT8 huggingface.co is an AI model on huggingface.co that provides Qwen3.5-4B-INT8's model effect (), which can be used instantly with this AxisQuant Qwen3.5-4B-INT8 model. huggingface.co supports a free trial of the Qwen3.5-4B-INT8 model, and also provides paid use of the Qwen3.5-4B-INT8. Support call Qwen3.5-4B-INT8 model through api, including Node.js, Python, http.

Qwen3.5-4B-INT8 huggingface.co Url

https://huggingface.co/AxisQuant/Qwen3.5-4B-INT8

AxisQuant Qwen3.5-4B-INT8 online free

Qwen3.5-4B-INT8 huggingface.co is an online trial and call api platform, which integrates Qwen3.5-4B-INT8's modeling effects, including api services, and provides a free online trial of Qwen3.5-4B-INT8, you can try Qwen3.5-4B-INT8 online for free by clicking the link below.

AxisQuant Qwen3.5-4B-INT8 online free url in huggingface.co:

https://huggingface.co/AxisQuant/Qwen3.5-4B-INT8

Qwen3.5-4B-INT8 install

Qwen3.5-4B-INT8 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3.5-4B-INT8 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3.5-4B-INT8 install, users can directly use Qwen3.5-4B-INT8 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen3.5-4B-INT8 install url in huggingface.co:

https://huggingface.co/AxisQuant/Qwen3.5-4B-INT8

Url of Qwen3.5-4B-INT8

Qwen3.5-4B-INT8 huggingface.co Url

Provider of Qwen3.5-4B-INT8 huggingface.co

AxisQuant
ORGANIZATIONS

Other API from AxisQuant