Skip to content
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

Fix typo in w8a8.md #1523

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion docs/zh_cn/quantization/w8a8.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Coming soon...

## 8bit 权重量化

进行 4bit 权重量化需要经历以下三步:
进行 8bit 权重量化需要经历以下三步:

1. **权重平滑**:首先对语言模型的权重进行平滑处理,以便更好地进行量化。
2. **模块替换**:使用 `QRSMNorm` 和 `QLinear` 模块替换原模型 `DecoderLayer` 中的 `RSMNorm` 模块和 `nn.Linear` 模块。`lmdeploy/pytorch/models/q_modules.py` 文件中定义了这些量化模块。
Expand Down
Loading