Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AXERA-TECH
/
Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C

Image-Text-to-Text
Transformers
English
Chinese
Qwen3-VL
Qwen3-VL-2B-Instruct
Qwen3-VL-4B-Instruct
Int4
VLM
GPTQ
Model card Files Files and versions
xet
Community
1

Instructions to use AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C
  • SGLang

    How to use AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C 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 "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    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 "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C with Docker Model Runner:

    docker model run hf.co/AXERA-TECH/Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C
Qwen3-VL-2B-Instruct-GPTQ-Int4-AX630C
4.82 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
lihongjie
fix mrope
c868e44 6 months ago
  • Qwen3-VL-2B-Instruct-AX630C-C64_P256_CTX384-Int4
    fix mrope 6 months ago
  • Qwen3-VL-2B-Instruct-AX630C-c64_p192-Int4
    fix mrope 6 months ago
  • images
    first commit 7 months ago
  • qwen3-vl-tokenizer
    first commit 7 months ago
  • video
    first commit 7 months ago
  • .gitattributes
    6.36 kB
    fix mrope 6 months ago
  • README.md
    11.2 kB
    first commit 7 months ago
  • axera_logo.png
    157 kB
    xet
    first commit 7 months ago
  • config.json
    0 Bytes
    first commit 7 months ago
  • gradio_demo.py
    9.88 kB
    first commit 7 months ago
  • main_ax630c
    6.65 MB
    xet
    first commit 7 months ago
  • main_ax630c_api
    6.77 MB
    xet
    first commit 7 months ago
  • openai_cli.py
    1.76 kB
    first commit 7 months ago
  • post_config.json
    275 Bytes
    first commit 7 months ago
  • qwen3_tokenizer.py
    15 kB
    Optimize the time to load the tokenizer (#1) 7 months ago
  • requirements.txt
    97 Bytes
    first commit 7 months ago
  • run_ax_api.sh
    696 Bytes
    first commit 7 months ago
  • run_image_ax630c.sh
    803 Bytes
    first commit 7 months ago
  • run_image_ax630c_384.sh
    803 Bytes
    first commit 7 months ago
  • run_video_ax630c.sh
    803 Bytes
    first commit 7 months ago
  • run_video_ax630c_384.sh
    803 Bytes
    first commit 7 months ago