How to use from
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 "vistralis/Qwen3-8B-INT8" \
    --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": "vistralis/Qwen3-8B-INT8",
		"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 "vistralis/Qwen3-8B-INT8" \
        --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": "vistralis/Qwen3-8B-INT8",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Qwen3-8B-INT8

INT8 (W8A8) quantized version of Qwen/Qwen3-8B, created using llm-compressor with calibrated quantization.

Overview

Property Value
Base Model Qwen/Qwen3-8B
Parameters 8.19B
Quantization INT8 (W8A8)
Format compressed-tensors
Tool llm-compressor
Disk Size ~9.4 GB (2 shards)

Intended Use

Quantized text encoder for Flux 2 Klein 9B image generation pipelines. Architecturally identical to the Klein 9B text encoder.

Quantization Details

  • Scheme: W8A8 — 8-bit integer weights and activations
  • Targets: All Linear layers (excluding lm_head)
  • Calibration: 256 samples from C4, sequential pipeline with CPU offloading

Hardware Requirements

  • Minimum: Any CUDA GPU with INT8 tensor core support
  • Fallback: Dequantizes to BF16 on unsupported hardware
Downloads last month
5
Safetensors
Model size
8B params
Tensor type
BF16
·
I8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vistralis/Qwen3-8B-INT8

Finetuned
Qwen/Qwen3-8B
Quantized
(288)
this model