Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

Bump version and upgrade python version (#2429)

Sun, Xuehao1bd739fc608e
diff --git a/.azure-pipelines/ark-unit-test.yml b/.azure-pipelines/ark-unit-test.yml
index 29627f20f..860172a77 100644
--- a/.azure-pipelines/ark-unit-test.yml
+++ b/.azure-pipelines/ark-unit-test.yml
@@ -19,7 +19,7 @@ parameters:
displayName: "Python versions"
type: string
# Comma-separated list to avoid YAML float parsing in runtime inputs.
- # For example, "3.10,3.11,3.12,3.13,3.14"
+ # For example, "3.11,3.12,3.13,3.14"
default: "3.14"
- name: torchVersions
displayName: "Torch versions"
diff --git a/.azure-pipelines/compatibility-test.yml b/.azure-pipelines/compatibility-test.yml
index 86b384c4e..3ad3b5d22 100644
--- a/.azure-pipelines/compatibility-test.yml
+++ b/.azure-pipelines/compatibility-test.yml
@@ -30,9 +30,6 @@ stages:
timeoutInMinutes: 20
strategy:
matrix:
- Python310_Linux:
- python_version: '3.10'
- vmImage: 'ubuntu-latest'
Python311_Linux:
python_version: '3.11'
vmImage: 'ubuntu-latest'
@@ -49,9 +46,6 @@ stages:
python_version: '3.14t'
vmImage: 'ubuntu-latest'
- Python310_Windows:
- python_version: '3.10'
- vmImage: 'windows-latest'
Python311_Windows:
python_version: '3.11'
vmImage: 'windows-latest'
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index b5b1f0ac5..ee568d522 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -37,7 +37,7 @@ body:
description: Please provide information about your environment
placeholder: |
- OS: [e.g. Ubuntu 22.04]
- - Python version: [e.g. 3.10]
+ - Python version: [e.g. 3.11]
- AutoRound version: [e.g. 0.9.5]
- Hardware: [e.g. CPU/GPU model]
validations:
diff --git a/README.md b/README.md
index b34488160..3e7e95219 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@
<h3> Advanced Quantization Toolkit for LLMs</h3>
-[![python](https://img.shields.io/badge/python-3.10%2B-blue)](https://github.com/intel/auto-round)
-[![version](https://img.shields.io/badge/release-0.15.0-green)](https://github.com/intel/auto-round/releases)
+[![python](https://img.shields.io/badge/python-3.11%2B-blue)](https://github.com/intel/auto-round)
+[![version](https://img.shields.io/badge/release-0.16.0-green)](https://github.com/intel/auto-round/releases)
[![nightly](https://img.shields.io/badge/pypi-nightly-green)](https://pypi.org/project/auto-round-nightly)
[![license](https://img.shields.io/badge/license-Apache%202-9C27B0)](https://github.com/intel/auto-round/blob/main/LICENSE)
<a href="https://huggingface.co/Intel">
diff --git a/README_CN.md b/README_CN.md
index f9e98ffb3..897820d32 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -9,8 +9,8 @@
<h3> 面向 LLM 的先进量化算法</h3>
-[![python](https://img.shields.io/badge/python-3.10%2B-blue)](https://github.com/intel/auto-round)
-[![version](https://img.shields.io/badge/release-0.15.0-green)](https://github.com/intel/auto-round/releases)
+[![python](https://img.shields.io/badge/python-3.11%2B-blue)](https://github.com/intel/auto-round)
+[![version](https://img.shields.io/badge/release-0.16.0-green)](https://github.com/intel/auto-round/releases)
[![nightly](https://img.shields.io/badge/pypi-nightly-green)](https://pypi.org/project/auto-round-nightly)
[![license](https://img.shields.io/badge/license-Apache%202-9C27B0)](https://github.com/intel/auto-round/blob/main/LICENSE)
<a href="https://huggingface.co/Intel">
diff --git a/auto_round/version.py b/auto_round/version.py
index 6a0ea1ba5..cb329c886 100644
--- a/auto_round/version.py
+++ b/auto_round/version.py
@@ -14,4 +14,4 @@
"""Intel® auto-round: An open-source Python library
supporting popular model weight only compression based on signround."""
-__version__ = "0.16.0"
+__version__ = "0.17.0"
diff --git a/pyproject.toml b/pyproject.toml
index 5d351b0b9..f95721f73 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -70,8 +70,8 @@ exclude = [
line-length = 120
indent-width = 4
-# Assume Python 3.10
-target-version = "py310"
+# Assume Python 3.11
+target-version = "py311"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
diff --git a/setup.py b/setup.py
index 9cf654d81..6131dcb4b 100644
--- a/setup.py
+++ b/setup.py
@@ -176,7 +176,7 @@ if __name__ == "__main__":
packages=include_packages,
install_requires=install_requires,
extras_require=extras_require,
- python_requires=">=3.10.0",
+ python_requires=">=3.11.0",
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
diff --git a/test/README.md b/test/README.md
index 895fdb5bb..4c3ed795a 100644
--- a/test/README.md
+++ b/test/README.md
@@ -3,7 +3,7 @@
This project uses `pytest` for unit testing. All test cases are under the `test/` directory.
## 1. Environment Setup
-- Recommended Python 3.10 or above.
+- Recommended Python 3.11 or above.
- Install dependencies:
```sh
pip install -r ../requirements.txt