Skip to content

[new blog post] introducing auto-round #2826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Apr 29, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change opt-125m to qwen3
  • Loading branch information
wenhuach21 committed Apr 29, 2025
commit b4494e75b0f641298ccbbca4510fd63ba817e877
6 changes: 3 additions & 3 deletions autoround.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Currently, only offline mode is supported to generate quantized models.

```bash
auto-round \
--model facebook/opt-125m \
--model Qwen/Qwen3-0.6B \
--bits 4 \
--group_size 128 \
--format "auto_round,auto_awq,auto_gptq" \
Expand All @@ -113,7 +113,7 @@ AutoRound also offers another two recipes, `auto-round-best` and `auto-round-lig

```bash
auto-round-best \
--model facebook/opt-125m \
--model Qwen/Qwen3-0.6B \
--output_dir ./tmp_autoround
```

Expand All @@ -136,7 +136,7 @@ This setting offers a better trade-off between accuracy and tuning cost, and is
from transformers import AutoModelForCausalLM, AutoTokenizer
from auto_round import AutoRound

model_name = "facebook/opt-125m"
model_name = "Qwen/Qwen3-0.6B"
model = AutoModelForCausalLM.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
bits, group_size, sym = 4, 128, True
Expand Down