Skip to content

[Docathon][Add CN Doc No.20-22] - #6371

Merged
luotao1 merged 11 commits into
PaddlePaddle:developfrom
zade23:en_doc_2022
Jan 10, 2024
Merged

luotao1 merged 11 commits into
PaddlePaddle:developfrom
zade23:en_doc_2022

Conversation

@zade23

@zade23 zade23 commented Dec 8, 2023

Copy link
Copy Markdown
Contributor

PR types

Others

PR changes

Docs

Description

中文文档添加任务

#6193

新增中文文档:

  • paddle.nn.quant.llm_int8_linear
  • paddle.nn.quant.weight_only_linear
  • paddle.nn.quant.weight_quantize

英文文档链接:

序号 API名称 英文文档地址
20 paddle.nn.quant.llm_int8_linear https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/nn/quant/llm_int8_linear_en.html
21 paddle.nn.quant.weight_only_linear https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/nn/quant/weight_only_linear_en.html
22 paddle.nn.quant.weight_quantize https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/nn/quant/weight_quantize_en.html

包含修改Overview

@zhenyun-li @sunzhongkai588

@paddle-bot

paddle-bot Bot commented Dec 8, 2023

Copy link
Copy Markdown

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6371.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具


.. py:function:: paddle.nn.quant.weight_only_linear(x, weight, bias=None, weight_scale=None, weight_dtype='int8', arch=None)

应用两个张量的矩阵乘法。若提供了偏置,则进行偏置加法。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议加上等价的数学公式

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vivienfanghuagood 开发者您好,关于等价公式是否有相关论文或者相似功能API文档的参考呢?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我找了下,暂时没有找到特别官方的论文和相似的API,也可以先空着,待后续再补充~

@ooooo-create ooooo-create left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

返回类型 应当包含于返回中,不用单独提出
image

zade23 and others added 2 commits January 9, 2024 17:31
Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com>
Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com>
@zade23
zade23 requested a review from ooooo-create January 9, 2024 09:32
@ooooo-create

Copy link
Copy Markdown
Collaborator

返回类型 应当包含于返回中,不用单独提出 image

里面 返回类型小标题下 删一下吧~

@zade23

zade23 commented Jan 9, 2024

Copy link
Copy Markdown
Contributor Author

返回类型 应当包含于返回中,不用单独提出 image

里面 返回类型小标题下 删一下吧~

Down

@ooooo-create ooooo-create left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

@sunzhongkai588 sunzhongkai588 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
luotao1 merged commit 84ed3d2 into PaddlePaddle:develop Jan 10, 2024
@zade23
zade23 deleted the en_doc_2022 branch January 10, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants