Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

auto-round-nightly

Latest version: v0.17.0.dev20261124

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: suyueche
1,706 Stars
204 Forks
45 Versions
4.6K Downloads
Python Repo language

Scan summary

auto-round-nightly was last scanned on 24 Nov 2026 at version 0.17.0.dev20261124. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 45 versions; the latest 5 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 0.17.0.dev20261124.
  • Downloads: 4,585 downloads.

Versions

45 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.17.0.dev20261124 LATEST 24 Nov 2026 No rules fired
0.17.0.dev20261123 23 Nov 2026 No rules fired
0.17.0.dev20261122 22 Nov 2026 No rules fired
0.17.0.dev20261121 21 Nov 2026 Not shown
0.17.0.dev20261120 20 Nov 2026 Not shown

No rules fired in 0.17.0.dev20261124

Findings

Findings for v0.17.0.dev20261124. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.17.0.dev20261124; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

python version nightly license

简体中文 | English        

用户指南 | User Guide


🚀 What is AutoRound?

AutoRound is an easy-to-use post-training quantization toolkit for Large Language Models (LLMs) and Vision-Language Models (VLMs). It supports several practical low-bit and adaptive-bit quantization algorithms, with a particular focus on SignRoundV1 and SignRoundV2. AutoRound is designed to deliver strong accuracy at ultra-low bit widths while keeping quantization costs reasonable. It supports widely used data types and quantization schemes, including WNA16, MXFP4, NVFP4, and FP8, as well as low-bit model formats such as GGUF. It integrates with popular ecosystems including Transformers, vLLM, and SGLang, and supports deployment across Intel CPUs and XPUs, Gaudi accelerators, and NVIDIA GPUs.

🆕 What's New

  • [WIP] For quantization at 4 bits and above, we currently recommend mixing 75% UltraChat with 25% OpenCode to improve reasoning capabilities and agent compatibility. With the default nsamples=128, use --dataset "HuggingFaceH4/ultrachat_200k:num=96,nvidia/OpenCodeInstruct:num=32". See the doc for details. We will update the default calibration dataset after the evaluation is complete.

  • [2026/11] We experimentally support Recurrent Residual Quantization (RRQ). A single checkpoint serves 2/4/6/8-bit — and per-layer mixed precision — selectable at load time without re-quantizing: Paper.

    # Quantize: produces both base/ and residual/ in the output dir
    python -m auto_round.cli.main \
        --model Qwen/Qwen3-0.6B --scheme W2A16 \
        --backend_format auto_round:rrq --dump_config
    
    # Load with 4-bit active (first residual plane on top of the base)
    from auto_round import load_rrq_model
    model = load_rrq_model("./out/Qwen/Qwen3-0.6B/8bit", active_bits=4)

    Note: this is an experimental feature and production-level deployments are not yet supported.

  • [2026/10] We now show that W2A16 accuracy improves steadily as more tuning cost is invested. See the W2A16 accuracy results.

  • [2026/09] We improved MoE tuning speed by more than 3× and significantly reduced RAM usage. See the doc for detailed results. Please note that this optimization may introduce some regressions or issues.

  • [2026/09] We now support 5/6/7-bit WOQ models in vLLM and Transformers on CUDA devices, thanks to Humming Kernel.

  • [2026/09] The NeUQI grid search (arXiv 2505.17595) is available for calibration-free quantization: --enable_neuqi with --iters 0 runs a joint (scale, zero-point) search for asymmetric layers and a two-stage scale search for symmetric layers, and anchors the tuning grid when iters > 0. Results

  • [2026/08] We experimentally support algorithm composition (e.g., --algs awq,signround or --algs hadamard,awq,signround) to improve accuracy Overview. We welcome any practical, deployable algorithms that are ready for real-world use. Feel free to submit a PR or leave a comment in Issues.

  • [2026/06] AutoScheme has been refined to improve accuracy for gguf format. See AutoScheme Accuracy for details. This enhancement incurs additional tuning cost.

  • [2026/06] Community adoption update. AutoRound is now fully integrated into vLLM-Omni vLLM blog, following its adoption by Transformers, vLLM, and SGLang. See the vLLM blog.

  • [2026/05] We provide free devices for quantization; please visit Intel Low Bit Open LLM Leaderboard for more details.

  • [2025/12] The SignRoundV2 paper is available. Turn on the algorithm extension (--algorithm auto_round_v2, formerly enable_alg_ext) and use the AutoScheme API for mixed-precision quantization to reproduce the results: Paper, Notes for evaluating LLaMA models.

  • [2025/10] AutoScheme is available to generate mixed-bit recipes in minutes: Usage, Accuracy.

  • [2025/08] An improved INT2 algorithm is available via the algorithm extension (--algorithm auto_round_v2, formerly --enable_alg_ext): Accuracy

  • [2025/09] MXFP4 and NVFP4 dtypes is available: Accuracy.

  • [2025/07] GGUF format is supported: Usage.

  • [2025/03] The INT2-mixed DeepSeek-R1 model (~200GB) retains 97.9% accuracy: Model.

✨ Key Features

✅ Superior Accuracy Delivers strong performance even at 2–3 bits example models, with leading results at 4 bits benchmark.

✅ Ecosystem Integration Seamlessly works with Transformers, vLLM, SGLang and more.

✅ Multiple Formats Export Support AutoRound, AutoAWQ, AutoGPTQ, and GGUF for maximum compatibility. Details are shown in export formats

✅ Fast Mixed Bits/Dtypes Scheme Generation Automatically configure in minutes, with about 1.1X-1.5X the model’s BF16 RAM size as overhead. Accuracy results and user guide.

✅ Optimized Round-to-Nearest Mode Use --iters 0 for fast quantization with some accuracy drop for 4 bits; an optional NeUQI grid search (--enable_neuqi) improves the zero-shot scales. Details are shown in opt_rtn mode

✅ Affordable Quantization Cost Quantize 7B models in about 10 minutes on a single GPU. Details are shown in quantization costs

✅ 10+ VLMs Support Out-of-the-box quantization for 10+ vision-language models example models, support matrix

✅ Multiple Recipes Choose from auto-round-best, auto-round, auto-round-light, auto-round-opt-rtn (optimized RTN) and auto-round-rtn (pure RTN, fastest baseline) to suit your needs. Details are shown in quantization recipes

Use the same plans in Python with AutoRound(..., recipe="auto-round-best") or in the CLI with --recipe auto-round-best. Omitting the recipe selects auto-round; legacy commands remain shortcuts. See built-in recipes and overrides.

✅ Advanced Utilities Includes multiple gpus quantization, multiple calibration datasets and support for 10+ runtime backends.

✅ Beyond weight only quantization. We are actively expanding support for additional datatypes such as MXFP, NVFP, W8A8, and more.

Installation

Install from pypi
# CPU(Xeon)/GPU(CUDA)
pip install auto-round

# CPU(Xeon)/GPU(CUDA) nightly
pip install auto-round-nightly

# HPU(Gaudi)
# install inside the hpu docker container, e.g. vault.habana.ai/gaudi-docker/1.23.0/ubuntu24.04/habanalabs/pytorch-installer-2.9.0:latest  
pip install auto-round-hpu

# XPU(Intel GPU)
pip install torch --index-url https://download.pytorch.org/whl/xpu
pip install auto-round
# CPU(Xeon)/GPU(CUDA)
pip install .

# HPU(Gaudi)
python setup.py install hpu

# XPU(Intel GPU)
pip install torch --index-url https://download.pytorch.org/whl/xpu
pip install .

Model Quantization (CPU/Intel GPU/Gaudi/CUDA)

If you encounter issues during quantization, try using pure RTN mode with iters=0, disable_opt_rtn=True. Additionally, using group_size=32 or mixed bits is recommended for better results.

CLI Usage

The full list of supported arguments is provided by calling auto-round -h on the terminal.

ModelScope is supported for model downloads, simply set AR_USE_MODELSCOPE=1.

auto-round \
    --model Qwen/Qwen3-0.6B \
    --scheme "W4A16" \
    --format "auto_round" \
    --output_dir ./tmp_autoround

We offer another two recipes, auto-round-best and auto-round-light, designed for optimal accuracy and improved speed, respectively. Details are as follows.

# Best accuracy, 3X slower, low_gpu_mem_usage could save ~20G but ~30%-100% slower
auto-round-best \
  --model Qwen/Qwen3-0.6B \
  --scheme "W4A16" \
  --low_gpu_mem_usage 
# 2-3X speedup, slight accuracy drop at W4 and larger accuracy drop at W2
auto-round-light \
  --model Qwen/Qwen3-0.6B \
  --scheme "W4A16" 
# Optimized RTN (iters=0, opt_rtn enabled); fast baseline
auto-round-opt-rtn \
  --model Qwen/Qwen3-0.6B \
  --scheme "W4A16"
# Pure RTN (iters=0, no AutoRound optimization); fastest, lowest memory
# auto-routes to model-free mode for supported INT WOQ schemes
auto-round-rtn \
  --model Qwen/Qwen3-0.6B \
  --scheme "W4A16"

In conclusion, we recommend using auto-round for W4A16 and auto-round-best with --algorithm auto_round_v2 for W2A16. However, you may adjust the configuration to suit your specific requirements and available resources.

[!TIP] For INT2 (W2A16), accuracy improves steadily as you invest more tuning cost. Increasing knobs such as --iters (e.g. 1000 → 2000), --nsamples, and --seqlen, or switching to the auto-round-best recipe with --enable_alg_ext, trades additional tuning time for consistently higher accuracy. As you scale up the calibration data (larger --nsamples/--seqlen), raising the learning rate to 4.0/iters (e.g. 4e-3 at --iters 1000) often helps. See the W2A16 accuracy results for details.

API Usage
from auto_round import AutoRound

# Load a model (supports FP8/BF16/FP16/FP32)
model_name_or_path = "Qwen/Qwen3-0.6B"

# Available schemes: "W2A16", "W3A16", "W4A16", "W8A16", "NVFP4", "MXFP4" (no real kernels), "GGUF:Q4_K_M", etc.
ar = AutoRound(model_name_or_path, scheme="W4A16")

# Highest accuracy (4–5× slower).
# `low_gpu_mem_usage=True` saves ~20GB VRAM but runs ~30%-100% slower.
# ar = AutoRound(model_name_or_path, nsamples=512, iters=1000, low_gpu_mem_usage=True)

# Faster quantization (2–3× speedup) with slight accuracy drop at W4G128.
# ar = AutoRound(model_name_or_path, nsamples=128, iters=50, lr=5e-3)

# Supported formats: "auto_round" (default), "auto_gptq", "auto_awq", "llm_compressor", "gguf:q4_k_m", etc.
ar.quantize_and_save(output_dir="./qmodel", format="auto_round")
Quantization Scheme & Configuration
  • scheme (str|dict|AutoScheme): The predefined quantization keys, e.g. W4A16, MXFP4, NVFP4, GGUF:Q4_K_M. For MXFP4/NVFP4, we recommend exporting to LLM-Compressor format.
  • bits (int): Number of bits for quantization (default is None). If not None, it will override the scheme setting.
  • group_size (int): Size of the quantization group (default is None). If not None, it will override the scheme setting.
  • sym (bool): Whether to use symmetric quantization (default is None). If not None, it will override the scheme setting.
  • layer_config (dict): Configuration for layer_wise scheme (default is None), mainly for customized mixed schemes.
Algorithm Settings
  • enable_alg_ext (bool): [Deprecated] Use the auto_round_v2 algorithm instead. [Experimental Feature] Only for iters>0. Enable algorithm variants for specific schemes (e.g., MXFP4/W2A16) that could bring notable improvements. Default is False.

  • alg_configs (str|Config|list): Select one or more algorithms, such as "awq", "auto_round", "auto_round_v2", "rtn", "opt-rtn", or ['auto_round', 'quarot']. Preprocessors run in list order and the block quantizer always runs last. Algorithm-specific options can be passed through their config objects, for example SignRoundConfig(iters=50).

  • disable_opt_rtn (bool|None): Use pure RTN mode for specific schemes (e.g., GGUF and WOQ). Default is None. If None, it defaults to False in most cases to improve accuracy, but may be set to True due to known issues. The algorithm name rtn selects pure RTN and opt-rtn selects the optimized path, on both the CLI (--algorithm rtn) and the Python API (alg_configs="rtn"); the name wins over the flag.

Tuning Process Parameters
  • iters (int): Number of tuning iterations (default is 200). Common values: 0 (RTN mode), 50 (with lr=5e-3 recommended), 1000. Higher values increase accuracy but slow down tuning.
  • lr (float): The learning rate for rounding value (default is None). When None, it will be set to 1.0/iters automatically.
  • batch_size (int): Batch size for training (default is 8). 4 is also commonly used.
  • enable_deterministic_algorithms (bool): Whether to enable deterministic algorithms for reproducibility (default is False).
Calibration Dataset
  • dataset (str|list|tuple|torch.utils.data.DataLoader): The dataset for tuning (default is "NeelNanda/pile-10k"). Supports local JSON files and dataset combinations, e.g. "./tmp.json,NeelNanda/pile-10k:train,mbpp:train+validation+test".
  • I2V calibration uses real images paired with the default COCO2014 captions. Before sampling, it joins the official COCO metadata and retains only Creative Commons Attribution 2.0 images (license ID 4); the filtered manifest preserves the license and Flickr source URL. Its manifests and selected images are cached under ~/.cache/auto_round/datasets/coco2014, or under $AR_CACHE/datasets/coco2014 when AR_CACHE is set. T2V keeps parsing the caption manifest in memory and does not use this cache. A local TSV may instead provide id, caption, and image columns; image accepts absolute paths or paths relative to the TSV.
  • nsamples (int): Number of samples for tuning (default is 128).
  • seqlen (int): Data length of the sequence for tuning (default is 2048).
Device/Speed Configuration

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases auto-round-nightly

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229