Skip to content

Conversation

@NeroLoh
Copy link
Contributor

@NeroLoh NeroLoh commented May 10, 2024

PR Category

Custom Device

PR Types

Others

Description

  1. https://github.com/PaddlePaddle/Paddle/pull/62741/commits
  2. 修复l3 在run接口不生效的bug

@paddle-bot
Copy link

paddle-bot bot commented May 10, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@linkk08
Copy link
Contributor

linkk08 commented May 13, 2024

LGTM

${XPU_PASS_DEPS})
pass_library(spatial_transformer_resblock_xpu_fuse_pass inference DIR xpu
DEPS ${XPU_PASS_DEPS})
pass_library(permute_int8_weight_only_pass inference DIR xpu DEPS
Copy link
Contributor

Choose a reason for hiding this comment

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

weight_only_linear_xpu_pass

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@NeroLoh NeroLoh force-pushed the weight_only_linear branch from 458b9b3 to 0b20eb7 Compare May 15, 2024 09:22
@@ -0,0 +1,166 @@
/* Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2024,新增文件使用当前日期

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@@ -0,0 +1,135 @@
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2024

Copy link
Contributor

Choose a reason for hiding this comment

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

这个文件放到paddle/phi/kernels/fusion/xpu/weight_only_linear_xpu_kernel.cc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

"lod_reset",
"fetch",
"share_data"};
std::set<std::string> inplace_op = {"silu", "group_norm"};
Copy link
Contributor

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.

已删除

@NeroLoh NeroLoh force-pushed the weight_only_linear branch from 0b20eb7 to ed30dc2 Compare May 21, 2024 02:06
@NeroLoh NeroLoh force-pushed the weight_only_linear branch from ed30dc2 to 874038b Compare May 22, 2024 02:29
Copy link
Contributor

@zhupengyang zhupengyang left a comment

Choose a reason for hiding this comment

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

LGTM

@zhupengyang zhupengyang merged commit d761430 into PaddlePaddle:develop May 23, 2024
chen2016013 pushed a commit to chen2016013/Paddle that referenced this pull request May 26, 2024
linkk08 pushed a commit to linkk08/Paddle that referenced this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants