GraySoft
Projects Models About FAQ Contact Download guIDE →

bullerwins/qwen3-30b-a3b-instruct-2507-gguf Q4_K_S GGUF - Free GGUF Download is indexed on GraySoft with repository links, GGUF quant files, and Hugging Face metadata. This page helps you pick a local model for guIDE or other runtimes. See related models in the same shard below.

Model Intelligence Sheet

bullerwins/qwen3-30b-a3b-instruct-2507-gguf overview

Comprehensive model page for bullerwins/qwen3-30b-a3b-instruct-2507-gguf

transformersgguftext-generationarxiv:2402.17463arxiv:2407.02490arxiv:2501.15383arxiv:2404.06654arxiv:2505.09388base_model:Qwen/Qwen3-30B-A3B-Instruct-2507base_model:quantized:Qwen/Qwen3-30B-A3B-Instruct-2507license:apache-2.0endpoints_compatibleregion:usconversational
bullerwins/qwen3-30b-a3b-instruct-2507-gguf visual
Downloads
129
Likes
0
Pipeline
text-generation
Library
transformers
Visibility
Public
Access
Open

Repository Files & Downloads

12 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Qwen3-30B-A3B-Instruct-2507-BF16.gguf GGUF BF16 56.90 GB Download
Qwen3-30B-A3B-Instruct-2507-Q2_K.gguf GGUF Q2_K 10.49 GB Download
Qwen3-30B-A3B-Instruct-2507-Q3_K_L.gguf GGUF Q3_K_L 14.81 GB Download
Qwen3-30B-A3B-Instruct-2507-Q3_K_M.gguf GGUF Q3_K_M 13.70 GB Download
Qwen3-30B-A3B-Instruct-2507-Q3_K_S.gguf GGUF Q3_K_S 12.38 GB Download
Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf GGUF Q4_K_M 17.28 GB Download
Qwen3-30B-A3B-Instruct-2507-Q4_K_S.gguf GGUF Q4_K_S 16.26 GB Download
Qwen3-30B-A3B-Instruct-2507-Q5_K_M.gguf GGUF Q5_K_M 20.23 GB Download
Qwen3-30B-A3B-Instruct-2507-Q5_K_S.gguf GGUF Q5_K_S 19.63 GB Download
Qwen3-30B-A3B-Instruct-2507-Q6_K.gguf GGUF Q6_K 23.37 GB Download
Qwen3-30B-A3B-Instruct-2507-Q8_0.gguf GGUF 30.25 GB Download
Qwen3-30B-A3B-Instruct-2507-bf16.gguf GGUF BF16 56.90 GB Download

Model Details Live

Model Slug
bullerwins/qwen3-30b-a3b-instruct-2507-gguf
Author
bullerwins
Pipeline Task
text-generation
Library
transformers
Created
2025-09-25
Last Modified
2025-09-25
Gated
No
Private
No
HF SHA
8392ae5410d178f8e284777f08f9c256951d23f0
License
apache-2.0
Language
Unknown
Base Model
Qwen/Qwen3-30B-A3B-Instruct-2507

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "library_name": "transformers",
    "license": "apache-2.0",
    "license_link": "https://huggingface.co/Qwen/Qwen3-30B-A3B-Instruct-2507/blob/main/LICENSE",
    "pipeline_tag": "text-generation",
    "base_model": [
      "Qwen/Qwen3-30B-A3B-Instruct-2507"
    ],
    "frontmatter": {
      "library_name": "transformers",
      "license": "apache-2.0",
      "license_link": "https://huggingface.co/Qwen/Qwen3-30B-A3B-Instruct-2507/blob/main/LICENSE",
      "pipeline_tag": "text-generation",
      "base_model": [
        "Qwen/Qwen3-30B-A3B-Instruct-2507"
      ]
    },
    "hero_image_url": "https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5",
    "summary": "",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "---\nlibrary_name: transformers\nlicense: apache-2.0\nlicense_link: https://huggingface.co/Qwen/Qwen3-30B-A3B-Instruct-2507/blob/main/LICENSE\npipeline_tag: text-generation\nbase_model:\n- Qwen/Qwen3-30B-A3B-Instruct-2507\n---\n\n# Qwen3-30B-A3B-Instruct-2507\n<a href=\"https://chat.qwen.ai/?model=Qwen3-30B-A3B-2507\" target=\"_blank\" style=\"margin: 2px;\">\n    <img alt=\"Chat\" src=\"https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5\" style=\"display: inline-block; vertical-align: middle;\"/>\n</a>\n\n## Highlights\n\nWe introduce the updated version of the **Qwen3-30B-A3B non-thinking mode**, named **Qwen3-30B-A3B-Instruct-2507**, featuring the following key enhancements:\n\n- **Significant improvements** in general capabilities, including **instruction following, logical reasoning, text comprehension, mathematics, science, coding and tool usage**.\n- **Substantial gains** in long-tail knowledge coverage across **multiple languages**.\n- **Markedly better alignment** with user preferences in **subjective and open-ended tasks**, enabling more helpful responses and higher-quality text generation.\n- **Enhanced capabilities** in **256K long-context understanding**.\n\n![image/jpeg](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-2507/Qwen3-30B-A3B-Instruct-2507.jpeg)\n\n## Model Overview\n\n**Qwen3-30B-A3B-Instruct-2507** has the following features:\n- Type: Causal Language Models\n- Training Stage: Pretraining & Post-training\n- Number of Parameters: 30.5B in total and 3.3B activated\n- Number of Paramaters (Non-Embedding): 29.9B\n- Number of Layers: 48\n- Number of Attention Heads (GQA): 32 for Q and 4 for KV\n- Number of Experts: 128\n- Number of Activated Experts: 8\n- Context Length: **262,144 natively**. \n\n**NOTE: This model supports only non-thinking mode and does not generate ``<think></think>`` blocks in its output. Meanwhile, specifying `enable_thinking=False` is no longer required.**\n\nFor more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our [blog](https://qwenlm.github.io/blog/qwen3/), [GitHub](https://github.com/QwenLM/Qwen3), and [Documentation](https://qwen.readthedocs.io/en/latest/).\n\n\n## Performance\n\n|  | Deepseek-V3-0324 | GPT-4o-0327 | Gemini-2.5-Flash Non-Thinking | Qwen3-235B-A22B Non-Thinking | Qwen3-30B-A3B Non-Thinking | Qwen3-30B-A3B-Instruct-2507 |\n|--- | --- | --- | --- | --- | --- | --- |\n| **Knowledge** | | | | | | |\n| MMLU-Pro | **81.2** | 79.8 | 81.1 | 75.2 | 69.1 | 78.4 |\n| MMLU-Redux | 90.4 | **91.3** | 90.6 | 89.2 | 84.1 | 89.3 |\n| GPQA | 68.4 | 66.9 | **78.3** | 62.9 | 54.8 | 70.4 |\n| SuperGPQA | **57.3** | 51.0 | 54.6 | 48.2 | 42.2 | 53.4 |\n| **Reasoning** | | | | | | |\n| AIME25 | 46.6 | 26.7 | **61.6** | 24.7 | 21.6 | 61.3 |\n| HMMT25 | 27.5 | 7.9 | **45.8** | 10.0 | 12.0 | 43.0 |\n| ZebraLogic | 83.4 | 52.6 | 57.9 | 37.7 | 33.2 | **90.0** |\n| LiveBench 20241125 | 66.9 | 63.7 | **69.1** | 62.5 | 59.4 | 69.0 |\n| **Coding** | | | | | | |\n| LiveCodeBench v6 (25.02-25.05) | **45.2** | 35.8 | 40.1 | 32.9 | 29.0 | 43.2 |\n| MultiPL-E | 82.2 | 82.7 | 77.7 | 79.3 | 74.6 | **83.8** |\n| Aider-Polyglot | 55.1 | 45.3 | 44.0 | **59.6** | 24.4 | 35.6 |\n| **Alignment** | | | | | | |\n| IFEval | 82.3 | 83.9 | 84.3 | 83.2 | 83.7 | **84.7** |\n| Arena-Hard v2* | 45.6 | 61.9 | 58.3 | 52.0 | 24.8 | **69.0** |\n| Creative Writing v3 | 81.6 | 84.9 | 84.6 | 80.4 | 68.1 | **86.0** |\n| WritingBench | 74.5 | 75.5 | 80.5 | 77.0 | 72.2 | **85.5** |\n| **Agent** | | | | | | |\n| BFCL-v3 | 64.7 | 66.5 | 66.1 | **68.0** | 58.6 | 65.1 |\n| TAU1-Retail | 49.6 | 60.3# | **65.2** | 65.2 | 38.3 | 59.1 |\n| TAU1-Airline | 32.0 | 42.8# | **48.0** | 32.0 | 18.0 | 40.0 |\n| TAU2-Retail | **71.1** | 66.7# | 64.3 | 64.9 | 31.6 | 57.0 |\n| TAU2-Airline | 36.0 | 42.0# | **42.5** | 36.0 | 18.0 | 38.0 |\n| TAU2-Telecom | **34.0** | 29.8# | 16.9 | 24.6 | 18.4 | 12.3 |\n| **Multilingualism** | | | | | | |\n| MultiIF | 66.5 | 70.4 | 69.4 | 70.2 | **70.8** | 67.9 |\n| MMLU-ProX | 75.8 | 76.2 | **78.3** | 73.2 | 65.1 | 72.0 |\n| INCLUDE | 80.1 | 82.1 | **83.8** | 75.6 | 67.8 | 71.9 |\n| PolyMATH | 32.2 | 25.5 | 41.9 | 27.0 | 23.3 | **43.1** |\n\n*: For reproducibility, we report the win rates evaluated by GPT-4.1.\n\n\\#: Results were generated using GPT-4o-20241120, as access to the native function calling API of GPT-4o-0327 was unavailable.\n\n\n## Quickstart\n\nThe code of Qwen3-MoE has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.\n\nWith `transformers<4.51.0`, you will encounter the following error:\n```\nKeyError: 'qwen3_moe'\n```\n\nThe following contains a code snippet illustrating how to use the model generate content based on given inputs. \n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\nmodel_name = \"Qwen/Qwen3-30B-A3B-Instruct-2507\"\n\n# load the tokenizer and the model\ntokenizer = AutoTokenizer.from_pretrained(model_name)\nmodel = AutoModelForCausalLM.from_pretrained(\n    model_name,\n    torch_dtype=\"auto\",\n    device_map=\"auto\"\n)\n\n# prepare the model input\nprompt = \"Give me a short introduction to large language model.\"\nmessages = [\n    {\"role\": \"user\", \"content\": prompt}\n]\ntext = tokenizer.apply_chat_template(\n    messages,\n    tokenize=False,\n    add_generation_prompt=True,\n)\nmodel_inputs = tokenizer([text], return_tensors=\"pt\").to(model.device)\n\n# conduct text completion\ngenerated_ids = model.generate(\n    **model_inputs,\n    max_new_tokens=16384\n)\noutput_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() \n\ncontent = tokenizer.decode(output_ids, skip_special_tokens=True)\n\nprint(\"content:\", content)\n```\n\nFor deployment, you can use `sglang>=0.4.6.post1` or `vllm>=0.8.5` or to create an OpenAI-compatible API endpoint:\n- SGLang:\n    ```shell\n    python -m sglang.launch_server --model-path Qwen/Qwen3-30B-A3B-Instruct-2507 --context-length 262144\n    ```\n- vLLM:\n    ```shell\n    vllm serve Qwen/Qwen3-30B-A3B-Instruct-2507 --max-model-len 262144\n    ```\n\n**Note: If you encounter out-of-memory (OOM) issues, consider reducing the context length to a shorter value, such as `32,768`.**\n\nFor local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.\n\n## Agentic Use\n\nQwen3 excels in tool calling capabilities. We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.\n\nTo define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.\n```python\nfrom qwen_agent.agents import Assistant\n\n# Define LLM\nllm_cfg = {\n    'model': 'Qwen3-30B-A3B-Instruct-2507',\n\n    # Use a custom endpoint compatible with OpenAI API:\n    'model_server': 'http://localhost:8000/v1',  # api_base\n    'api_key': 'EMPTY',\n}\n\n# Define Tools\ntools = [\n    {'mcpServers': {  # You can specify the MCP configuration file\n            'time': {\n                'command': 'uvx',\n                'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']\n            },\n            \"fetch\": {\n                \"command\": \"uvx\",\n                \"args\": [\"mcp-server-fetch\"]\n            }\n        }\n    },\n  'code_interpreter',  # Built-in tools\n]\n\n# Define Agent\nbot = Assistant(llm=llm_cfg, function_list=tools)\n\n# Streaming generation\nmessages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]\nfor responses in bot.run(messages=messages):\n    pass\nprint(responses)\n```\n\n## Processing Ultra-Long Texts\n\nTo support **ultra-long context processing** (up to **1 million tokens**), we integrate two key techniques:\n\n- **[Dual Chunk Attention](https://arxiv.org/abs/2402.17463) (DCA)**: A length extrapolation method that splits long sequences into manageable chunks while preserving global coherence.\n- **[MInference](https://arxiv.org/abs/2407.02490)**: A sparse attention mechanism that reduces computational overhead by focusing on critical token interactions.\n\nTogether, these innovations significantly improve both **generation quality** and **inference efficiency** for sequences beyond 256K tokens. On sequences approaching 1M tokens, the system achieves up to a **3× speedup** compared to standard attention implementations.\n\nFor full technical details, see the [Qwen2.5-1M Technical Report](https://arxiv.org/abs/2501.15383).\n\n### How to Enable 1M Token Context\n\n> [!NOTE]\n> To effectively process a 1 million token context, users will require approximately **240 GB** of total GPU memory. This accounts for model weights, KV-cache storage, and peak activation memory demands.\n\n#### Step 1: Update Configuration File\n\nDownload the model and replace the content of your `config.json` with `config_1m.json`, which includes the config for length extrapolation and sparse attention.\n\n```bash\nexport MODELNAME=Qwen3-30B-A3B-Instruct-2507\nhuggingface-cli download Qwen/${MODELNAME} --local-dir ${MODELNAME}\nmv ${MODELNAME}/config.json ${MODELNAME}/config.json.bak\nmv ${MODELNAME}/config_1m.json ${MODELNAME}/config.json\n```\n\n#### Step 2: Launch Model Server\n\nAfter updating the config, proceed with either **vLLM** or **SGLang** for serving the model.\n\n#### Option 1: Using vLLM\n\nTo run Qwen with 1M context support:\n\n```bash\npip install -U vllm \\\n    --torch-backend=auto \\\n    --extra-index-url https://wheels.vllm.ai/nightly\n```\n\nThen launch the server with Dual Chunk Flash Attention enabled:\n\n```bash\nVLLM_ATTENTION_BACKEND=DUAL_CHUNK_FLASH_ATTN VLLM_USE_V1=0 \\\nvllm serve ./Qwen3-30B-A3B-Instruct-2507 \\\n  --tensor-parallel-size 4 \\\n  --max-model-len 1010000 \\\n  --enable-chunked-prefill \\\n  --max-num-batched-tokens 131072 \\\n  --enforce-eager \\\n  --max-num-seqs 1 \\\n  --gpu-memory-utilization 0.85\n```\n\n##### Key Parameters\n\n| Parameter | Purpose |\n|--------|--------|\n| `VLLM_ATTENTION_BACKEND=DUAL_CHUNK_FLASH_ATTN` | Enables the custom attention kernel for long-context efficiency |\n| `--max-model-len 1010000` | Sets maximum context length to ~1M tokens |\n| `--enable-chunked-prefill` | Allows chunked prefill for very long inputs (avoids OOM) |\n| `--max-num-batched-tokens 131072` | Controls batch size during prefill; balances throughput and memory |\n| `--enforce-eager` | Disables CUDA graph capture (required for dual chunk attention) |\n| `--max-num-seqs 1` | Limits concurrent sequences due to extreme memory usage |\n| `--gpu-memory-utilization 0.85` | Set the fraction of GPU memory to be used for the model executor |\n\n#### Option 2: Using SGLang\n\nFirst, clone and install the specialized branch:\n\n```bash\ngit clone https://github.com/sgl-project/sglang.git\ncd sglang\npip install -e \"python[all]\"\n```\n\nLaunch the server with DCA support:\n\n```bash\npython3 -m sglang.launch_server \\\n    --model-path ./Qwen3-30B-A3B-Instruct-2507 \\\n    --context-length 1010000 \\\n    --mem-frac 0.75 \\\n    --attention-backend dual_chunk_flash_attn \\\n    --tp 4 \\\n    --chunked-prefill-size 131072\n```\n\n##### Key Parameters\n\n| Parameter | Purpose |\n|---------|--------|\n| `--attention-backend dual_chunk_flash_attn` | Activates Dual Chunk Flash Attention |\n| `--context-length 1010000` | Defines max input length |\n| `--mem-frac 0.75` | The fraction of the memory used for static allocation (model weights and KV cache memory pool). Use a smaller value if you see out-of-memory errors. |\n| `--tp 4` | Tensor parallelism size (matches model sharding) |\n| `--chunked-prefill-size 131072` | Prefill chunk size for handling long inputs without OOM |\n\n#### Troubleshooting:\n\n1. Encountering the error: \"The model's max sequence length (xxxxx) is larger than the maximum number of tokens that can be stored in the KV cache.\" or \"RuntimeError: Not enough memory. Please try to increase --mem-fraction-static.\"\n\n    The VRAM reserved for the KV cache is insufficient.\n    - vLLM: Consider reducing the ``max_model_len`` or increasing the ``tensor_parallel_size`` and ``gpu_memory_utilization``. Alternatively, you can reduce ``max_num_batched_tokens``, although this may significantly slow down inference.\n    - SGLang: Consider reducing the ``context-length`` or increasing the ``tp`` and ``mem-frac``. Alternatively, you can reduce ``chunked-prefill-size``, although this may significantly slow down inference.\n\n2. Encountering the error: \"torch.OutOfMemoryError: CUDA out of memory.\"\n\n    The VRAM reserved for activation weights is insufficient. You can try lowering ``gpu_memory_utilization`` or ``mem-frac``, but be aware that this might reduce the VRAM available for the KV cache.\n\n3. Encountering the error: \"Input prompt (xxxxx tokens) + lookahead slots (0) is too long and exceeds the capacity of the block manager.\" or \"The input (xxx xtokens) is longer than the model's context length (xxx tokens).\"\n\n    The input is too lengthy. Consider using a shorter sequence or increasing the ``max_model_len`` or ``context-length``.\n\n#### Long-Context Performance\n\nWe test the model on an 1M version of the [RULER](https://arxiv.org/abs/2404.06654) benchmark.\n\n| Model Name                                  | Acc avg | 4k   | 8k   | 16k  | 32k  | 64k  | 96k  | 128k | 192k | 256k | 384k | 512k | 640k | 768k | 896k | 1000k |\n|---------------------------------------------|---------|------|------|------|------|------|------|------|------|------|------|------|------|------|------|-------|\n| Qwen3-30B-A3B (Non-Thinking)                | 72.0    | 97.1 | 96.1 | 95.0 | 92.2 | 82.6 | 79.7 | 76.9 | 70.2 | 66.3 | 61.9 | 55.4 | 52.6 | 51.5 | 52.0 | 50.9  |\n| Qwen3-30B-A3B-Instruct-2507  (Full Attention)  | 86.8    | 98.0 | 96.7 | 96.9 | 97.2 | 93.4 | 91.0 | 89.1 | 89.8 | 82.5 | 83.6 | 78.4 | 79.7 | 77.6 | 75.7 | 72.8  |\n| Qwen3-30B-A3B-Instruct-2507 (Sparse Attention) | 86.8 | 98.0 | 97.1 | 96.3 | 95.1 | 93.6 | 92.5 | 88.1 | 87.7 | 82.9 | 85.7 | 80.7 | 80.0 | 76.9 | 75.5 | 72.2  |\n\n\n* All models are evaluated with Dual Chunk Attention enabled.\n* Since the evaluation is time-consuming, we use 260 samples for each length (13 sub-tasks, 20 samples for each).\n\n## Best Practices\n\nTo achieve optimal performance, we recommend the following settings:\n\n1. **Sampling Parameters**:\n   - We suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`.\n   - For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.\n\n2. **Adequate Output Length**: We recommend using an output length of 16,384 tokens for most queries, which is adequate for instruct models.\n\n3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.\n   - **Math Problems**: Include \"Please reason step by step, and put your final answer within \\boxed{}.\" in the prompt.\n   - **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: \"Please show your choice in the `answer` field with only the choice letter, e.g., `\"answer\": \"C\"`.\"\n\n### Citation\n\nIf you find our work helpful, feel free to give us a cite.\n\n```\n@misc{qwen3technicalreport,\n      title={Qwen3 Technical Report}, \n      author={Qwen Team},\n      year={2025},\n      eprint={2505.09388},\n      archivePrefix={arXiv},\n      primaryClass={cs.CL},\n      url={https://arxiv.org/abs/2505.09388}, \n}\n```",
    "related_quantizations": []
  },
  "tags": [
    "transformers",
    "gguf",
    "text-generation",
    "arxiv:2402.17463",
    "arxiv:2407.02490",
    "arxiv:2501.15383",
    "arxiv:2404.06654",
    "arxiv:2505.09388",
    "base_model:Qwen/Qwen3-30B-A3B-Instruct-2507",
    "base_model:quantized:Qwen/Qwen3-30B-A3B-Instruct-2507",
    "license:apache-2.0",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 129,
  "gated": false,
  "private": false,
  "last_modified": "2025-09-25T11:58:34.000Z",
  "created_at": "2025-09-25T11:33:21.000Z",
  "pipeline_tag": "text-generation",
  "library_name": "transformers"
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "68d52881dec4361c7ab16c04",
  "id": "bullerwins/Qwen3-30B-A3B-Instruct-2507-GGUF",
  "modelId": "bullerwins/Qwen3-30B-A3B-Instruct-2507-GGUF",
  "sha": "8392ae5410d178f8e284777f08f9c256951d23f0",
  "createdAt": "2025-09-25T11:33:21.000Z",
  "lastModified": "2025-09-25T11:58:34.000Z",
  "author": "bullerwins",
  "downloads": 129,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "transformers",
  "siblings_count": 14
}