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

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

Merged
merged 11 commits into from
Jan 10, 2024
Merged

Conversation

zade23
Copy link
Contributor

@zade23 zade23 commented Dec 8, 2023

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

Copy link

paddle-bot bot commented Dec 8, 2023

感谢你贡献飞桨文档,文档预览构建中,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)

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

Choose a reason for hiding this comment

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

建议加上等价的数学公式

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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

Choose a reason for hiding this comment

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

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

Copy link
Collaborator

@ooooo-create ooooo-create left a comment

Choose a reason for hiding this comment

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

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

docs/api/paddle/nn/quant/weight_only_linear_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/nn/quant/llm_int8_linear_cn.rst Outdated Show resolved Hide resolved
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>
@ooooo-create
Copy link
Collaborator

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

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

@zade23
Copy link
Contributor Author

zade23 commented Jan 9, 2024

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

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

Down

Copy link
Collaborator

@ooooo-create ooooo-create left a comment

Choose a reason for hiding this comment

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

LGTM~

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

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
2 checks passed
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